Re: [PATCH, SH4] Fix PR58314 (unsatisfied constraints)

2013-09-12 Thread Kaz Kojima
Christian Bruel wrote: > The attached patch fixes an ice while building the linux kernel. Reduced > in the included testcase. > > The problem is that we are generating a movhi_reg_reg insn that accepts > only registers as operands. Spilling a pseudo on the stack results in an > invalid memory loa

Re: [PATCH, SH4] Fix PR58314 (unsatisfied constraints)

2013-09-12 Thread Oleg Endo
On Thu, 2013-09-12 at 15:37 +0200, Christian Bruel wrote: > The attached patch fixes an ice while building the linux kernel. Reduced > in the included testcase. > > The problem is that we are generating a movhi_reg_reg insn that accepts > only registers as operands. Spilling a pseudo on the stack

[PATCH, SH4] Fix PR58314 (unsatisfied constraints)

2013-09-12 Thread Christian Bruel
The attached patch fixes an ice while building the linux kernel. Reduced in the included testcase. The problem is that we are generating a movhi_reg_reg insn that accepts only registers as operands. Spilling a pseudo on the stack results in an invalid memory load/store constraints. The attached p