On 06/21/2012 02:21 AM, Richard Guenther wrote:
The flag is not restricted to the C++ compiler and applies to all automatic variables.
This only affects the clobbers for C++ temporary objects, not clobbers for automatic variables going out of scope.
Also with this patch you remove code motion barriers which might cause other issues.
How so?
A more "proper" place to fix this is when we actually do the stack reuse, in cfgexpand.
How would that distinguish between the clobbers for temporaries vs. automatics?
Jason