From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26217 invoked by alias); 16 Apr 2003 07:30:47 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 26197 invoked by uid 48); 16 Apr 2003 07:30:46 -0000 Date: Wed, 16 Apr 2003 07:30:00 -0000 Message-ID: <20030416073046.26196.qmail@sources.redhat.com> To: csk@cgl.uwaterloo.ca, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org From: ebotcazou@gcc.gnu.org Reply-To: ebotcazou@gcc.gnu.org, csk@cgl.uwaterloo.ca, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: other/10417: Inconsistent results in floating point comparison. X-SW-Source: 2003-04/txt/msg00745.txt.bz2 List-Id: 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