Hi, I'm testing gcc version 4.0.0 20050123: avr-gcc -c -Os usart.i
usart.c: In function 'UsartIOCtl': usart.c:821: error: unable to find a register to spill in class 'BASE_POINTER_REGS' usart.c:821: error: this is the insn: (insn 653 159 160 14 (set (mem:HI (plus:HI (reg/f:HI 28 r28) (const_int 1 [0x1])) [32 S2 A8]) (reg:HI 24 r24)) 12 {*movhi} (nil) (nil)) usart.c:821: internal compiler error: in spill_failure, at reload1.c:1872 Maybe, PR12017 is related to this PR? -- Summary: Can't compile ethernut OS (avr-gcc) Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dieterbmeier at yahoo dot com CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: i386 GCC target triplet: avr http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19636