https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62284
Bug ID: 62284 Summary: AVR unable to find register to spill in the class POINTER_REGS Product: gcc Version: 4.8.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: joel at gcc dot gnu.org avr-rtems4.11-gcc --pipe -DHAVE_CONFIG_H -I.. -I../../cpukit/../../../avrtest/lib/include -mmcu=atmega128 -Os -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT src/bdpart-write.o -MD -MP -MF $depbase.Tpo -c -o src/bdpart-write.o ../../../../../../rtems/c/src/../../cpukit/libblock/src/bdpart-write.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/media-path.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ avr-rtems4.11-gcc --pipe -DHAVE_CONFIG_H -I.. -I../../cpukit/../../../avrtest/lib/include -mmcu=atmega128 -Os -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT src/media-path.o -MD -MP -MF $depbase.Tpo -c -o src/media-path.o ../../../../../../rtems/c/src/../../cpukit/libblock/src/media-path.c &&\ mv -f $depbase.Tpo $depbase.Po ../../../../../../rtems/c/src/../../cpukit/libblock/src/flashdisk.c: In function 'rtems_fdisk_recycle_segment': ../../../../../../rtems/c/src/../../cpukit/libblock/src/flashdisk.c:1402:1: error: unable to find a register to spill in class 'POINTER_REGS' } ^ ../../../../../../rtems/c/src/../../cpukit/libblock/src/flashdisk.c:1402:1: error: this is the insn: (insn 364 363 365 16 (set (reg:HI 26 r26) (reg/v/f:HI 67 [ dpd ])) ../../../../../../rtems/c/src/../../cpukit/libblock/src/flashdisk.c:1315 82 {*movhi} (nil)) ../../../../../../rtems/c/src/../../cpukit/libblock/src/flashdisk.c:1402: confused by earlier errors, bailing out