This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/50195] [4.7 Regression] Linking time error with -fast-math -O0


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]