From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18399 invoked by alias); 19 Feb 2013 14:49:07 -0000 Received: (qmail 17953 invoked by uid 48); 19 Feb 2013 14:48:41 -0000 From: "jamborm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/56294] BOOT_CFLAGS='-O2 -g -fno-ipa-sra' leads to bootstrap comparison failure Date: Tue, 19 Feb 2013 14:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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 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: 2013-02/txt/msg01929.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56294 --- Comment #8 from Martin Jambor 2013-02-19 14:48:39 UTC --- Created attachment 29497 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29497 Patch to fix at least part of the problem This patch fixes Jakub's testcase and the one produced by multidelta too. It adds a new parameter to get_access_replacement alogn the lines of the patch in comment #7 of PR 54971 and makes other provisions as discussed yesterday on IRC. The patch passes bootstrap and testsuite on x86_64-linux, but on its own it does not fix the original problem, i.e. bootstrap with IPA-SRA disabled still fails due to a miscomparison. So I'll defer submitting it until after I figure out what problems are still outstanding and whether we want to deal with them in a single patch or not.