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 rtl-optimization/50782] optimize pragma not applying fast-math


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

--- Comment #1 from Ethan Tira-Thompson <ejtttje at gmail dot com> 2011-10-18 21:16:23 UTC ---
I'm sorry, apparently I messed something up in my testing.

The output of -O3 is actually:
000
111

The output of -O0 is:
100
111

So the optimize attribute is being applied after/including any inlined
functions.  Obviously, when the function is not inlined, it is not affected by
the attribute.

The primary bug of the two lines not being the same remains the same.


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