This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/28796] __builtin_nan() and __builtin_unordered() inconsistent
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Aug 2006 00:34:48 -0000
- Subject: [Bug middle-end/28796] __builtin_nan() and __builtin_unordered() inconsistent
- References: <bug-28796-13128@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pinskia at gcc dot gnu dot org 2006-08-22 00:34 -------
(In reply to comment #5)
> My first complaint is that the implementation is inconsistent.
It is not inconsistent really. Just the -funsafe-math-optimizations is done
incorrectly for x86 (see the other bug which I keep on mentioning over and over
again).
> My second complaint is that the fine manual is wrong headed, leading to hacky
> math flags that are less useful than they otherwise would be.
They are not incorrectly headed. It is correct if you don't use the options
which turn off IEEE/C complaincy which is what -ffast-math and friends do.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |middle-end
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28796