http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50928
Bug #: 50928 Summary: ICE building RTEMS Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: j...@gcc.gnu.org gcc (GCC) 4.7.0 20111029 (experimental) Newlib cvs head as of same date m32c-rtems4.11-gcc --pipe -mcpu=m32cm --pipe -DHAVE_CONFIG_H -I.. -I../../../lib/include -D__RTEMS_INSIDE__ -g -O2 -Wall -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -mcpu=m32cm -MT src/libscore_a-heap.o -MD -MP -MF src/.deps/libscore_a-heap.Tpo -c -o src/libscore_a-heap.o `test -f 'src/heap.c' || echo '/users/joel/test-gcc/rtems/cpukit/score/'`src/heap.c In file included from ../../../lib/include/rtems/score/basedefs.h:25:0, from ../../../lib/include/rtems/score/types.h:22, from ../../../lib/include/rtems/score/cpu.h:40, from ../../../lib/include/rtems/score/percpu.h:22, from ../../../lib/include/rtems/system.h:23, from /users/joel/test-gcc/rtems/cpukit/score/src/heap.c:28: ../../../lib/include/rtems/score/cpuopts.h:56:0: warning: "__RTEMS_SIZEOF_VOID_P__" redefined [enabled by default] In file included from /users/joel/test-gcc/rtems/cpukit/score/src/heap.c:23:0: ../config.h:465:0: note: this is the location of the previous definition /users/joel/test-gcc/rtems/cpukit/score/src/heap.c: In function '_Heap_Initialize': /users/joel/test-gcc/rtems/cpukit/score/src/heap.c:300:1: error: unable to find a register to spill in class 'A_REGS' /users/joel/test-gcc/rtems/cpukit/score/src/heap.c:300:1: error: this is the insn: (insn 119 118 120 13 (set (mem/s:SI (subreg:PSI (reg/f:SI 30 [ first_block.3 ]) 0) [3 first_block.3_22->prev_size+0 S4 A8]) (reg/v:SI 28 [ heap_area_end ])) /users/joel/test-gcc/rtems/cpukit/score/src/heap.c:260 98 {movsi_24} (nil)) /users/joel/test-gcc/rtems/cpukit/score/src/heap.c:300:1: internal compiler error: in spill_failure, at reload1.c:2118 Please submit a full bug report,