[Bug target/30936] __builtin_nanf("") != __builtin_nanf("") is false for sh4-linux-gnu

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Feb 26 18:02:00 GMT 2007



------- Comment #8 from pinskia at gcc dot gnu dot org  2007-02-26 18:02 -------
Actually it turns out this is not a bug but rather you did not read the full
documentation:
http://gcc.gnu.org/onlinedocs/gcc-4.1.0/gcc/SH-Options.html

-mieee
Increase IEEE-compliance of floating-point code. At the moment, this is
equivalent to -fno-finite-math-only. When generating 16 bit SH opcodes, getting
IEEE-conforming results for comparisons of NANs / infinities incurs extra
overhead in every floating point comparison, therefore the default is set to
-ffinite-math-only. 


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list