[Bug c/53079] Unwanted optimization occurs on function with the same name as a math.h function without including math.h nor linking with libm

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 23 01:20:00 GMT 2012


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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-04-23 01:19:48 UTC ---
This is expected.  If you don't want floor to be considered a builtin, then use
-fno-builtin-floor .  The C standard even says the name is in the reversed
namespace really.



More information about the Gcc-bugs mailing list