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 ***