http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50195

--- Comment #6 from Jan Hubicka <hubicka at ucw dot cz> 2011-10-10 16:25:15 UTC 
---
> The folding is guarded with optimize_function_for_speed_p (), but that always
> returns true for -O0 ...
> 
> Honza, should the _for_speed_p () functions in predict.c be optimize && ...
> instead?

This is how we always behaved (i.e. when not optimizing we had optimize_size
false).
Switching the default may make sense, we might also hit some -Os bugs since -O0
gets more testing.

Honza

Reply via email to