[Bug c/71627] New: AVR error: unable to find a register to spill in class 'POINTER_X_REGS'

khuongnguyen00331 at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jun 23 03:51:00 GMT 2016


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


More information about the Gcc-bugs mailing list