------- Comment #2 from masaki dot chikama at gmail dot com 2009-01-10 13:29 ------- Created an attachment (id=17070) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17070&action=view) test.c
reduced test case for -O2 $ sh4-unknown-linux-gnu-gcc -O2 test.c test.c: In function 'f2': test.c:35: error: unable to find a register to spill in class 'R0_REGS' test.c:35: error: this is the insn: (insn:HI 17 61 37 4 test.c:31 (set (mem:QI (plus:SI (reg/v/f:SI 3 r3 [orig:162 n ] [162]) (reg/v:SI 1 r1 [orig:161 i ] [161])) [0 S1 A8]) (reg:QI 2 r2 [169])) 182 {movqi_i} (expr_list:REG_DEAD (reg:QI 2 r2 [169]) (expr_list:REG_DEAD (reg/v/f:SI 3 r3 [orig:162 n ] [162]) (expr_list:REG_DEAD (reg/v:SI 1 r1 [orig:161 i ] [161]) (expr_list:REG_EQUAL (const_int 0 [0x0]) (nil)))))) test.c:35: confused by earlier errors, bailing out -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38793