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
Created attachment 33406 [details] Preprocessed RTEMS flashdisk.c which triggers error
Fails at -O1, -O2, and -Os. Builds at -O0. avr-rtems4.11-gcc -mmcu=atmega128 -Os -c pr62284.c
confirmed for 4.8
GCC 4.8.4 has been released.
Fixed for 4.9.2.