This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/56294] BOOT_CFLAGS='-O2 -g -fno-ipa-sra' leads to bootstrap comparison failure
- From: "jamborm at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 19 Feb 2013 14:48:39 +0000
- Subject: [Bug tree-optimization/56294] BOOT_CFLAGS='-O2 -g -fno-ipa-sra' leads to bootstrap comparison failure
- Auto-submitted: auto-generated
- References: <bug-56294-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56294
--- Comment #8 from Martin Jambor <jamborm at gcc dot gnu.org> 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.