From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11963 invoked by alias); 16 May 2003 19:00:53 -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 11941 invoked by uid 48); 16 May 2003 19:00:52 -0000 Date: Fri, 16 May 2003 19:00:00 -0000 Message-ID: <20030516190052.11940.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, guindon@lirmm.fr, lethiec@lirmm.fr, nobody@gcc.gnu.org From: ebotcazou@gcc.gnu.org Reply-To: ebotcazou@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, guindon@lirmm.fr, lethiec@lirmm.fr, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: optimization/10825: GCC 3.2.3 cannot compare two double X-SW-Source: 2003-05/txt/msg01875.txt.bz2 List-Id: 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