The compiler does not understand RAS, so it makes wrong assumptions about the lifetime of register values.