This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Bootstrap ICE in main trunk (latest).



When I bootstrap the latest egcs (as of gcc/ChangeLog Version 1.1910)
with BOOT_CFLAGS="-g -O4" it dies with a Signal 11 on objc/sendmsg.c:

./xgcc -v -B./  -DIN_GCC   -DUSE_GNULIBC_1 -W -Wall -g -O4 -I./include  -I. -I../../egcs-cvs/gcc -I../../egcs-cvs/gcc/config -Iobjc -c ../../egcs-cvs/gcc/objc/sendmsg.c -o objc/sendmsg.o -save-temps
Reading specs from ./specs
gcc version egcs-2.92.02 19980820 (gcc2 ss-980609 experimental)
 ./cpp -lang-c -v -I./include -I. -I../../egcs-cvs/gcc -I../../egcs-cvs/gcc/config -Iobjc -isystem ./include -undef -D__GNUC__=2 -D__GNUC_MINOR__=92 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__OPTIMIZE__ -g -W -Wall -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di686 -Dpentiumpro -D__i686 -D__i686__ -D__pentiumpro -D__pentiumpro__ -DIN_GCC -DUSE_GNULIBC_1 ../../egcs-cvs/gcc/objc/sendmsg.c sendmsg.i
GNU CPP version egcs-2.92.02 19980820 (gcc2 ss-980609 experimental) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 include
 .
 ../../egcs-cvs/gcc
 ../../egcs-cvs/gcc/config
 objc
 include
 /usr/local/include
 /egcs/egcs/i686-pc-linux-gnulibc1/include
 /egcs/egcs/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.92.02/include
 /usr/include
End of search list.
 ./cc1 sendmsg.i -quiet -dumpbase sendmsg.c -g -O4 -W -Wall -version -o sendmsg.s
GNU C version egcs-2.92.02 19980820 (gcc2 ss-980609 experimental) (i686-pc-linux-gnulibc1) compiled by GNU C version egcs-2.92.02 19980820 (gcc2 ss-980609 experimental).
xgcc: Internal compiler error: program cc1 got fatal signal 11

The stacktrace shows:
#0  0x8170fd6 in record_reg_life_pat (pat=0x828e394, src=0xbfffed30, dest=0x0, 
    douse=0) at ../../egcs-cvs/gcc/reg-stack.c:297
#1  0x817106f in record_reg_life_pat (pat=0x828e464, src=0xbfffed30, 
    dest=0xbfffed2c, douse=0) at ../../egcs-cvs/gcc/reg-stack.c:1146
#2  0x81712fd in record_reg_life (insn=0x828e470, block=0, regstack=0xbfffeda0)
    at ../../egcs-cvs/gcc/reg-stack.c:1269
#3  0x81717e6 in stack_reg_life_analysis (first=0x828c2ac, 
    stackentry=0xbffff088) at ../../egcs-cvs/gcc/reg-stack.c:1517
#4  0x816ffa8 in reg_to_stack (first=0x828c2ac, file=0x0)
    at ../../egcs-cvs/gcc/reg-stack.c:503
#5  0x806e891 in rest_of_compilation (decl=0x824ba10)
    at ../../egcs-cvs/gcc/toplev.c:3822
#6  0x805748e in finish_function (nested=0) at ../../egcs-cvs/gcc/c-decl.c:7185
#7  0x8049897 in yyparse () at c-parse.y:349
#8  0x806b1fa in compile_file (name=0xbffff8b2 "sendmsg.i")
    at ../../egcs-cvs/gcc/toplev.c:2773
#9  0x80700e0 in main (argc=11, argv=0xbffff730, envp=0xbffff760)
    at ../../egcs-cvs/gcc/toplev.c:4839
#10 0x804908e in _start ()

Configoptions were --enable-shared --enable-haifa.

Please let me know if you need more information.

-- kga
-------------------------------------------------------------------------
Klaus-Georg Adams        Email: Klaus-Georg.Adams@chemie.uni-karlsruhe.de
Institut f. Anorg. Chemie, Lehrstuhl II            Tel: 49(0)721 608 3485
Universität Karlsruhe, D-76128 Karlsruhe
-------------------------------------------------------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]