From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 776 invoked by alias); 3 Feb 2011 15:01:58 -0000 Received: (qmail 752 invoked by uid 22791); 3 Feb 2011 15:01:57 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 03 Feb 2011 15:01:53 +0000 From: "howarth at nitro dot med.uc.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/47598] New: -fgraphite-identity at -O2 breaks profiledbootstrap X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: howarth at nitro dot med.uc.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Thu, 03 Feb 2011 15:01:00 -0000 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: 2011-02/txt/msg00507.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47598 Summary: -fgraphite-identity at -O2 breaks profiledbootstrap Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned@gcc.gnu.org ReportedBy: howarth@nitro.med.uc.edu Enabling -fgraphite at -O2 with... Index: gcc/opts.c =================================================================== --- gcc/opts.c (revision 169776) +++ gcc/opts.c (working copy) @@ -459,6 +459,9 @@ static const struct default_options defa { OPT_LEVELS_1_PLUS, OPT_fcompare_elim, NULL, 1 }, /* -O2 optimizations. */ +#ifdef HAVE_cloog + { OPT_LEVELS_2_PLUS, OPT_fgraphite_identity, NULL, 1 }, +#endif { OPT_LEVELS_2_PLUS, OPT_finline_small_functions, NULL, 1 }, { OPT_LEVELS_2_PLUS, OPT_findirect_inlining, NULL, 1 }, { OPT_LEVELS_2_PLUS, OPT_fpartial_inlining, NULL, 1 }, breaks the profiledbootstrap at... /sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./prev-gcc/xgcc -B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./prev-gcc/ -B/sw/lib/gcc4.6/x86_64-apple-darwin10.7.0/bin/ -B/sw/lib/gcc4.6/x86_64-apple-darwin10.7.0/bin/ -B/sw/lib/gcc4.6/x86_64-apple-darwin10.7.0/lib/ -isystem /sw/lib/gcc4.6/x86_64-apple-darwin10.7.0/include -isystem /sw/lib/gcc4.6/x86_64-apple-darwin10.7.0/sys-include -c -DHAVE_CONFIG_H -g -O2 -mdynamic-no-pic -flto=jobserver -frandom-seed=1 -fprofile-use -I. -I../../gcc-4.6-20110202/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic ../../gcc-4.6-20110202/libiberty/cp-demangle.c -o cp-demangle.o ../../gcc-4.6-20110202/libiberty/cp-demangle.c: In function 'd_print_comp': ../../gcc-4.6-20110202/libiberty/cp-demangle.c:4350:1: error: insn does not satisfy its constraints: (insn 1855 310 311 39 (parallel [ (set (reg/f:DI 4 si [orig:719 dpi_17(D)->modifiers ] [719]) (plus:DI (reg:DI 4 si [486]) (plus:DI (reg/f:DI 7 sp) (const_int 0 [0])))) (clobber (reg:CC 17 flags)) ]) ../../gcc-4.6-20110202/libiberty/cp-demangle.c:3611 253 {*adddi_1} (nil)) ../../gcc-4.6-20110202/libiberty/cp-demangle.c:4350:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:401