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.