From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2713 invoked by alias); 24 Nov 2010 21:51:07 -0000 Received: (qmail 2704 invoked by uid 22791); 24 Nov 2010 21:51:07 -0000 X-SWARE-Spam-Status: No, hits=-2.8 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; Wed, 24 Nov 2010 21:51:03 +0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/46528] [4.6 Regression] profiledbootstrap failure X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.6.0 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 24 Nov 2010 22:04: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: 2010-11/txt/msg03044.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46528 --- Comment #9 from Richard Guenther 2010-11-24 21:50:55 UTC --- The CFGs match, the spanning tree as well. Instrumenting needs to split two edges, but that shouldn't matter and happens elsewhere as well. But we have in .optimized (of the -fprofile-generate case) : pretmp.676_490 = (unsigned int) D.8874_415; pretmp.677_491 = macro_39->params; pretmp.681_496 = *.LPBX1[67]; : # len_429 = PHI # ivtmp.698_171 = PHI D.8871_52 = MEM[base: pretmp.677_491, index: ivtmp.698_171, step: 8, offset: 0B]; D.8872_53 = D.8871_52->ident.len; D.8873_54 = D.8872_53 + 1; len_55 = D.8873_54 + len_429; # DEBUG len => len_55 # DEBUG i => D#11 # DEBUG len => len_55 # DEBUG i => D#11 ivtmp.698_92 = ivtmp.698_171 + 1; i_64 = (unsigned int) ivtmp.698_92; if (i_64 < pretmp.676_490) goto ; else goto ; : D.11695_474 = pretmp.681_496 + 1; D.11697_493 = pretmp.676_490 + 4294967295; D.11698_127 = (long int) D.11697_493; *.LPBX1_I_lsm.686_486 = D.11695_474 + D.11698_127; *.LPBX1[67] = *.LPBX1_I_lsm.686_486; which at least looks odd to me and produced by SCCP (supposedly *.LPBX1[67] + 1 + (long)(niter - 1), so not 100% invalid). Soooo ... for those who can reproduce it, can you try with -fno-tree-scev-cprop? I'll wrap my brain around that above computation tomorrow ;)