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 middle-end/50724] cmath's floating-point classification implementations inconsistent with math.h


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


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