This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/10078: bad code generated with optimisation.
- From: ebotcazou at gcc dot gnu dot org
- To: ac at m2000 dot fr, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 14 Mar 2003 11:32:55 -0000
- Subject: Re: optimization/10078: bad code generated with optimisation.
- Reply-to: ebotcazou at gcc dot gnu dot org, ac at m2000 dot fr, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: bad code generated with optimisation.
State-Changed-From-To: open->closed
State-Changed-By: ebotcazou
State-Changed-When: Fri Mar 14 11:32:55 2003
State-Changed-Why:
Not a bug. On x86, when optimizing, floating point values
may be kept in FP registers when doing comparison with
others stored in memory. Now x86 FP registers have
extra-precision over a 'double', which may invalid
an equality 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=10078