This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/10825: GCC 3.2.3 cannot compare two double
- From: ebotcazou at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, guindon at lirmm dot fr, lethiec at lirmm dot fr, nobody at gcc dot gnu dot org
- Date: 16 May 2003 19:00:52 -0000
- Subject: Re: optimization/10825: GCC 3.2.3 cannot compare two double
- Reply-to: ebotcazou at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, guindon at lirmm dot fr, lethiec at lirmm dot fr, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Old Synopsis: GCC 2.3.2 cannot compare two double
New Synopsis: GCC 3.2.3 cannot compare two double
State-Changed-From-To: open->closed
State-Changed-By: ebotcazou
State-Changed-When: Fri May 16 19:00:52 2003
State-Changed-Why:
Not a bug. On x86, when optimizing, floating point values
may be kept in FP registers when doing comparisons with
others stored in memory. Now x86 FP registers have
extra-precision over a 'double', which may invalid
a comparison. Compile your code with '-ffloat-store'
if it relies on exact IEEE floating-point semantics.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10825