From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15207 invoked by alias); 11 Jan 2008 10:34:01 -0000 Received: (qmail 14937 invoked by uid 48); 11 Jan 2008 10:33:16 -0000 Date: Fri, 11 Jan 2008 11:25:00 -0000 Subject: [Bug middle-end/34739] New: Need full backport of 28796 X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "echristo at apple dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-01/txt/msg01020.txt.bz2 Found a testcase that ice's the ppc-darwin backend at -O3 -ffast-math that is fixed by the full backport of the patches in 28796. In particular, this part: Author: rguenth Date: Tue Oct 24 09:15:07 2006 New Revision: 118001 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118001 Log: 2006-10-24 Richard Guenther PR middle-end/28796 * builtins.c (fold_builtin_classify): Use HONOR_INFINITIES and HONOR_NANS instead of MODE_HAS_INFINITIES and MODE_HAS_NANS for deciding optimizations in consistency with fold-const.c (fold_builtin_unordered_cmp): Likewise. * gcc.dg/pr28796-1.c: New testcase. * gcc.dg/pr28796-1.c: Likewise. Added: trunk/gcc/testsuite/gcc.dg/pr28796-1.c trunk/gcc/testsuite/gcc.dg/pr28796-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/builtins.c trunk/gcc/testsuite/ChangeLog Testcase: #include int test2(double x, double y) { return islessgreater(x, y); } -- Summary: Need full backport of 28796 Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: rguenth at gcc dot gnu dot org ReportedBy: echristo at apple dot com GCC build triplet: powerpc-darwin9 GCC host triplet: powerpc-darwin9 GCC target triplet: powerpc-darwin9 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34739