From: Segher Boessenkool <seg...@kernel.crashing.org> Date: Thu, 3 Sep 2015 20:26:51 -0500
> On Thu, Sep 03, 2015 at 03:33:56PM -0700, David Miller wrote: >> (insn 18631 1099 1100 14 (set (reg:SI 13423) >> (subreg:SI (mem/c:QI (plus:SI (reg/f:SI 101 %sfp) >> (const_int -14269 [0xffffffffffffc843])) [0 %sfp+-14269 >> S1 A8]) 0)) x.c:104 63 {*movsi_insn} >> (expr_list:REG_DEAD (reg:QI 287) >> (nil))) > >> I wonder why another target's LRA conversion hasn't hit this :-) > > Maybe a stupid question but... why are you seeing subregs of mem at all? > Does sparc not have INSN_SCHEDULING defined? The paradoxical subreg restriction in general_operand() is only enforced when reload_completed is true, which will not be the case while LRA is working.