From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17069 invoked by alias); 12 Sep 2004 03:41:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 17060 invoked by uid 48); 12 Sep 2004 03:41:32 -0000 Date: Sun, 12 Sep 2004 03:41:00 -0000 From: "opticcow at linux-militia dot net" To: gcc-bugs@gcc.gnu.org Message-ID: <20040912034129.17428.opticcow@linux-militia.net> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c/17428] New: internal compiler error: in spill_failure, at reload1.c:1880 X-Bugzilla-Reason: CC X-SW-Source: 2004-09/txt/msg01170.txt.bz2 List-Id: 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=17428