------- Comment #7 from ralf_corsepius at rtems dot org 2007-05-03 15:20 ------- FYI: Vanilla gcc-4.1.2 without newlib also exposes this issue with the code fragment from comment #6:
./avr-gcc -o tmp.o -c init.c -O2 init.c: In function 'init_array': init.c:12: error: unable to find a register to spill in class 'BASE_POINTER_REGS' init.c:12: error: this is the insn: (insn 61 30 31 2 (set (mem/c:HI (plus:HI (reg/f:HI 28 r28) (const_int 1 [0x1])) [4 S2 A8]) (reg:HI 24 r24)) 12 {*movhi} (nil) (nil)) init.c:12: confused by earlier errors, bailing out -- ralf_corsepius at rtems dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail|4.2.0 |4.1.2 4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31786