[Bug middle-end/50724] cmath's floating-point classification implementations inconsistent with math.h
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Oct 17 19:26:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50724
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |DUPLICATE
--- Comment #27 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-10-17 19:25:06 UTC ---
The patch just made cmath use the builtins and the builtin isnan is implemented
as !(a==a) which gets optimized to false because with only finite math, a has
to equal itself.
*** This bug has been marked as a duplicate of bug 25975 ***
More information about the Gcc-bugs
mailing list