other/10417: Inconsistent results in floating point comparison.

ebotcazou@gcc.gnu.org ebotcazou@gcc.gnu.org
Wed Apr 16 07:30:00 GMT 2003


Synopsis: Inconsistent results in floating point comparison.

State-Changed-From-To: open->closed
State-Changed-By: ebotcazou
State-Changed-When: Wed Apr 16 07:30:46 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=10417



More information about the Gcc-prs mailing list