This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: LRA reload produces invalid insn
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 allocator. The issue is that LRA is producing an insn that is invalid (it violates the constraints stated in the insn definition).
>> [snip]
>>> which is the correct sequence given the matching operand constraint in the define_insn.
>>>
>>> Is this an LRA bug, or is there something I need to do in the target to prevent this happening?
>>
>> What do you mean by "old allocator"?
>
> I think Paul just means old reload.
In that case, my patch may still help.
Peter