Re: patch to fix PR63906

2014-11-17 Thread Andrew Pinski
On Mon, Nov 17, 2014 at 4:15 PM, Vladimir Makarov wrote: > The following patch fixes > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63906 > > LRA rematerialization checks SP offsets at origin and rematerialization > places when trying to rematerialize an insn. But the offsets are not valid > if

patch to fix PR63906

2014-11-17 Thread Vladimir Makarov
The following patch fixes https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63906 LRA rematerialization checks SP offsets at origin and rematerialization places when trying to rematerialize an insn. But the offsets are not valid if sp elimination is prohibited (e.g. when alloca is used). Value o