http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56164
--- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2013-01-31 20:25:20 UTC --- Created attachment 29322 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29322 Small an valis test case Output with avr-gcc 4.7.2: avr-gcc -S -mmcu=atmega8 -Os foo.c foo.c: In function 'psy': foo.c:18:1: error: unable to find a register to spill in class 'POINTER_REGS' } ^ foo.c:18:1: error: this is the insn: (insn 26 25 28 2 (set (reg:SF 59 [ D.1396 ]) (unspec:SF [ (reg:HI 30 r30) (const_int 0 [0]) ] UNSPEC_LPM)) foo.c:9 22 {load_sf} (expr_list:REG_DEAD (reg:HI 30 r30) (nil))) foo.c:18:1: internal compiler error: in spill_failure, at reload1.c:2124 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.