https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71627
Bug ID: 71627 Summary: AVR error: unable to find a register to spill in class 'POINTER_X_REGS' Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: khuongnguyen00331 at gmail dot com Target Milestone: --- Created attachment 38751 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38751&action=edit test memx-space avr-gcc -mmcu=atmega128 -fdump-rtl-all -o avr.s -O1 avr.c avr.c: In function ‘main’: avr.c:28:1: error: unable to find a register to spill in class ‘POINTER_X_REGS’ } ^ avr.c:28:1: error: this is the insn: (insn 108 107 109 2 (set (reg:QI 21 r21) (subreg:QI (reg/f:PSI 61) 2)) avr.c:22 71 {movqi_insn} (nil)) avr.c:28: confused by earlier errors, bailing out