patch to fix PR65805
Jakub Jelinek
jakub@redhat.com
Mon Apr 20 08:05:00 GMT 2015
On Sun, Apr 19, 2015 at 07:49:52PM -0400, Vladimir Makarov wrote:
> The followingpatch fixes
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65805
>
> The problem occurred when SP was changed between the original insn and
> rematerialized one and the rematerialized insn contained a reg which will be
> substituted by SP. In this case difference between sp offset and the
> previous sp offset was used twice.
>
> The patch was bootstrapped and tested on x86/x86-64 and ppc64.
>
> It is hard to create a test for the PR which will be stable. So the test is
> absent.
>
> Committed to the trunk as rev. 222223.
>
> Jakub, the problem is present in GCC5 RC too. Should I commit it into
> gcc-5-branch too?
Yes, but only after the 5.1 release (Wednesday), I think it is too risky
this late before the release.
Jakub
More information about the Gcc-patches
mailing list