Re: LRA reload produces invalid insn

2018-11-02 Thread Paul Koning
> On Nov 2, 2018, at 9:34 AM, Peter Bergner wrote: > > On 11/1/18 10:37 PM, Vladimir Makarov wrote: >> On 11/01/2018 08:25 PM, Paul Koning wrote: >>> Is this an LRA bug, or is there something I need to do in the target to >>> prevent this happening? >> It is hard to say whose code is responsi

Re: LRA reload produces invalid insn

2018-11-02 Thread Peter Bergner
On 11/1/18 10:37 PM, Vladimir Makarov wrote: > On 11/01/2018 08:25 PM, Paul Koning wrote: >> Is this an LRA bug, or is there something I need to do in the target to >> prevent this happening? > It is hard to say whose code is responsible for this.  It might be a wrong > machine-dependent code or

Re: LRA reload produces invalid insn

2018-11-02 Thread Paul Koning
> On Nov 1, 2018, at 8:49 PM, Peter Bergner wrote: > > On 11/1/18 7:25 PM, Paul Koning wrote: >> I'm running the testsuite on the pdp11 target, and I get a failure when >> using LRA that works correctly with the old allocator. The issue is that >> LRA is producing an insn that is invalid (i

Re: LRA reload produces invalid insn

2018-11-01 Thread Vladimir Makarov
On 11/01/2018 08:25 PM, Paul Koning wrote: I'm running the testsuite on the pdp11 target, and I get a failure when using LRA that works correctly with the old allocator. The issue is that LRA is producing an insn that is invalid (it violates the constraints stated in the insn definition). Th

Re: LRA reload produces invalid insn

2018-11-01 Thread Peter Bergner
On 11/1/18 8:40 PM, Segher Boessenkool wrote: > Hi Peter, > > On Thu, Nov 01, 2018 at 07:49:36PM -0500, Peter Bergner wrote: >> On 11/1/18 7:25 PM, Paul Koning wrote: >>> I'm running the testsuite on the pdp11 target, and I get a failure when >>> using LRA that works correctly with the old alloca

Re: LRA reload produces invalid insn

2018-11-01 Thread Segher Boessenkool
Hi Peter, On Thu, Nov 01, 2018 at 07:49:36PM -0500, Peter Bergner wrote: > On 11/1/18 7:25 PM, Paul Koning wrote: > > I'm running the testsuite on the pdp11 target, and I get a failure when > > using LRA that works correctly with the old allocator. The issue is that > > LRA is producing an insn

Re: LRA reload produces invalid insn

2018-11-01 Thread Peter Bergner
On 11/1/18 7:25 PM, Paul Koning wrote: > I'm running the testsuite on the pdp11 target, and I get a failure when using > LRA that works correctly with the old allocator. The issue is that LRA is > producing an insn that is invalid (it violates the constraints stated in the > insn definition). [

LRA reload produces invalid insn

2018-11-01 Thread Paul Koning
I'm running the testsuite on the pdp11 target, and I get a failure when using LRA that works correctly with the old allocator. The issue is that LRA is producing an insn that is invalid (it violates the constraints stated in the insn definition). The insn in the IRA dump looks like this: (ins