From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23372 invoked by alias); 25 May 2004 15:25:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 23361 invoked by uid 48); 25 May 2004 15:25:45 -0000 Date: Wed, 26 May 2004 13:40:00 -0000 From: "reichelt at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20040525152542.15649.reichelt@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug rtl-optimization/15649] New: [3.5 regression] ICE with __builtin_isgreater and -ffast-math X-Bugzilla-Reason: CC X-SW-Source: 2004-05/txt/msg02908.txt.bz2 List-Id: Compiling the following testcase (which is from PR4765) with "gcc -ffast-math" causes an ICE on mainline (i686-pc-linux-gnu): ======================================================= double foo (double x) { return __builtin_isgreater(x,0.0) ? 0.0 : x; } ======================================================= The error message reads: PR4765.c: In function `foo': PR4765.c:3: internal compiler error: in fold, at fold-const.c:8156 Please submit a full bug report, [etc.] Roger, your patch http://gcc.gnu.org/ml/gcc-cvs/2004-05/msg00694.html seems to be responsible for the regression. Could you please have a look? -- Summary: [3.5 regression] ICE with __builtin_isgreater and - ffast-math Product: gcc Version: 3.5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: critical Priority: P2 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org,roger at eyesopen dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15649