optimization/10825: GCC 3.2.3 cannot compare two double

ebotcazou@gcc.gnu.org ebotcazou@gcc.gnu.org
Fri May 16 19:58:00 GMT 2003


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



More information about the Gcc-bugs mailing list