Bootstrap failure

Mark Mitchell mark@codesourcery.com
Thu Jan 13 23:44:00 GMT 2000


On i686-pc-linux-gnu, I'm seeing:

stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-linux-gnu/bin/ -c  -DIN_GCC    -W -Wall -Wtraditional -O2 -g -O2  -W -Wall    -I. -I.. -I../../../gcc/f -I../../../gcc/f/.. -I../../../gcc/f/../config -I../../../gcc/f/../../include ../../../gcc/f/com.c
../../../gcc/f/com.c: In function `ffecom_constantunion':
../../../gcc/f/com.c:10973: warning: `long' switch expression not converted to `int' in ANSI C
xgcc: Internal compiler error: program cc1 got fatal signal 11

Here's the backtrace:

(gdb) up
#1  0x810311e in split_edge (edge_in=0x82b0d38) at ../../gcc/flow.c:1390
(gdb) where
#0  set_block_for_insn (insn=0x405c9a40, bb=0x82f0b18) at ../../gcc/flow.c:5714
#1  0x810311e in split_edge (edge_in=0x82b0d38) at ../../gcc/flow.c:1390
#2  0x810357d in commit_one_edge_insertion (e=0x82b0d38)
    at ../../gcc/flow.c:1607
#3  0x8103653 in commit_edge_insertions () at ../../gcc/flow.c:1655
#4  0x81567c3 in convert_regs (file=0x0) at ../../gcc/reg-stack.c:2716
#5  0x815362f in reg_to_stack (first=0x40537880, file=0x0)
    at ../../gcc/reg-stack.c:479
#6  0x804d75a in rest_of_compilation (decl=0x404fd900)
    at ../../gcc/toplev.c:3589
#7  0x81e320a in finish_function (nested=0) at ../../gcc/c-decl.c:6718
#8  0x81d4141 in yyparse () at c-parse.y:350
#9  0x804ba14 in compile_file (name=0x40116398 "#") at ../../gcc/toplev.c:2380
#10 0x804f1b9 in main (argc=16, argv=0xbffff874) at ../../gcc/toplev.c:4795

We're executing this line:

  if (uid >= basic_block_for_insn->num_elements)

and `basic_block_for_insn' is NULL.  Anyone know what's up?

Thanks,

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


More information about the Gcc-bugs mailing list