[Bug c/17429] New: internal compiler error: in spill_failure, at reload1.c:1880
opticcow at linux-militia dot net
gcc-bugzilla@gcc.gnu.org
Sun Sep 12 03:46:00 GMT 2004
error in gcc version 4.0.0 20040912 (experimental).
Error occured when compiling gcc with itself (during Bootstrapping training
compiler) using the following configure command:
../gcc/configure --prefix=/beta/ --enable-shared --enable-languages=c,c++,objc
--enable-threads=posix --enable-__cxa_atexit --disable-libgcj --enable-libada
and the following make command:
export CFLAGS="-mmmx -msse -msse2 -march=pentium4 -mfpmath=sse
-maccumulate-outgoing-args -O2 -fgcse-after-reload -fmodulo-sched -fweb
-funroll-loops -fprefetch-loop-arrays -floop-optimize2 -fsched-spec-load
-ftree-loop-linear -ftree-vectorize -fomit-frame-pointer -pipe -s"
make BOOT_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS" STAGE1_CFLAGS="$CFLAGS"
profiledbootstrap
on gcc/gengtype.c, the compiler fails with:
stage1/xgcc -Bstage1/ -B/beta//i686-pc-linux-gnu/bin/ -c -mmmx -msse -msse2
-march=pentium4 -mfpmath=sse -maccumulate-outgoing-args -O2 -fgcse-after-reload
-fmodulo-sched -fweb -funroll-loops -fprefetch-loop-arrays -floop-optimize2
-fsched-spec-load -ftree-loop-linear -ftree-vectorize -fomit-frame-pointer -pipe
-s -save-temps -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-Wno-variadic-macros -Wold-style-definition -Werror -fno-common
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc/gcc -I../../gcc/gcc/.
-I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include \
../../gcc/gcc/gengtype.c -o gengtype.o
../../gcc/gcc/gengtype.c: In function `finish_root_table':
../../gcc/gcc/gengtype.c:2501: error: unable to find a register to spill in
class `AD_REGS'
../../gcc/gcc/gengtype.c:2501: error: this is the insn:
(insn:HI 987 82 988 113 (parallel [
(set (reg:DI 486 [ ivtmp.762 ])
(sign_extend:DI (reg/f:SI 60 [ ivtmp.762 ])))
(clobber (reg:CC 17 flags))
(clobber (scratch:SI))
]) 85 {*extendsidi2_1} (nil)
(expr_list:REG_UNUSED (scratch:SI)
(expr_list:REG_UNUSED (reg:CC 17 flags)
(expr_list:REG_UNUSED (scratch:SI)
(expr_list:REG_UNUSED (reg:CC 17 flags)
(nil))))))
../../gcc/gcc/gengtype.c:2501: internal compiler error: in spill_failure, at
reload1.c:1880
Please submit a full bug report,
with preprocessed source if appropriate.
the gengtype.i was rather large, so instead of pasting it here it can be found at:
http://linux-militia.net/kernel/stuff/gengtype.i
--
Summary: internal compiler error: in spill_failure, at
reload1.c:1880
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: opticcow at linux-militia dot net
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17429
More information about the Gcc-bugs
mailing list