This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: strange double comparison results with -O[12] on x86(-32)
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Florian Weimer'" <fw at deneb dot enyo dot de>,"'Andrew Pinski'" <pinskia at physics dot uc dot edu>
- Cc: "'Christian Bodenstedt'" <c dot bodenstedt at cityweb dot de>,<gcc at gcc dot gnu dot org>
- Date: Mon, 13 Jun 2005 18:07:42 +0100
- Subject: RE: strange double comparison results with -O[12] on x86(-32)
----Original Message----
>From: Florian Weimer
>Sent: 13 June 2005 16:08
> * Andrew Pinski:
>
>> This is known as GCC PR 323 which is not a bug:
>> <http://gcc.gnu.org/PR323>.
>
> It is a bug in GCC, the C standard, or the x86 FP hardware. I'm
> leaning towards the C standard or the hardware. 8-)
... or it's a bug in the libc/crt-startup, which is where the hardware
rounding mode is (or should be) set up ...
cheers,
DaveK
--
Can't think of a witty .sigline today....