From svn r119726 (Sun, 10 Dec 2006) I am getting an ICE during bootstrap on mipsel-linux. This is a new failure since Wed Dec 6 06:34:07 UTC 2006 (revision 119575) which bootstrapped and tested just fine. I don't really want to do a regression hunt as bootstraps take 3 or 4 days for me. I will update and try it again.

Configured as: ../gcc/configure --with-arch=mips32 --with-float=soft --disable-java-awt --without-x --disable-tls --enable-__cxa_atexit --disable-jvmpi --disable-static --disable-libmudflap --enable-languages=c,c++,java

The bootstrap compiler is GCC-4.0.2

In stage 2 (i.e. with the stage 1 compiler) I get an ICE:

/home/build/gcc-build/./prev-gcc/xgcc -B/home/build/gcc-build/./prev-gcc/ -B/usr/local/mipsel-unknown-linux-gnu/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -Werror -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include -I../../gcc/gcc/../libdecnumber -I../libdecnumber ../../gcc/gcc/c-decl.c -o c-decl.o
../../gcc/gcc/c-decl.c: In function 'set_type_context':
../../gcc/gcc/c-decl.c:691: internal compiler error: in cse_find_path, at cse.c:5930
Please submit a full bug report,
with preprocessed source if appropriate.

#0  fancy_abort (file=0x101f2a0 "../../gcc/gcc/cse.c", line=5930,
   function=0x101f8bc "cse_find_path") at ../../gcc/gcc/diagnostic.c:642
#1  0x007dfe00 in cse_find_path (first_bb=0x2bc5e7e0, data=0x7ff0775c,
   follow_jumps=1) at ../../gcc/gcc/cse.c:5930
#2  0x007e10f8 in cse_main (f=0x2b9126e0, nregs=238)
   at ../../gcc/gcc/cse.c:6209
#3  0x007e37f8 in rest_of_handle_cse () at ../../gcc/gcc/cse.c:6967
#4  0x00c7aab0 in execute_one_pass (pass=0x10e6210)
   at ../../gcc/gcc/passes.c:858
#5  0x00c7acc4 in execute_pass_list (pass=0x10e6210)
   at ../../gcc/gcc/passes.c:902
#6  0x00c7acf8 in execute_pass_list (pass=0x10e7730)
   at ../../gcc/gcc/passes.c:903
#7  0x005b0e74 in tree_rest_of_compilation (fndecl=0x2b716c98)
   at ../../gcc/gcc/tree-optimize.c:463
#8  0x0046e430 in c_expand_body (fndecl=0x2b716c98)
   at ../../gcc/gcc/c-decl.c:6855
#9  0x00d343e4 in cgraph_expand_function (node=0x2b71e000)
   at ../../gcc/gcc/cgraphunit.c:1238
#10 0x00d347ac in cgraph_expand_all_functions ()
   at ../../gcc/gcc/cgraphunit.c:1303
#11 0x00d35980 in cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1582
#12 0x00472f14 in c_write_global_declarations () at ../../gcc/gcc/c-decl.c:7968
#13 0x00be1f18 in compile_file () at ../../gcc/gcc/toplev.c:1040
#14 0x00be4ca0 in do_compile () at ../../gcc/gcc/toplev.c:2089
#15 0x00be4da0 in toplev_main (argc=44, argv=0x7ff07b14)
   at ../../gcc/gcc/toplev.c:2121
#16 0x0055a554 in main (argc=44, argv=0x7ff07b14) at ../../gcc/gcc/main.c:35
(gdb) up
#1  0x007dfe00 in cse_find_path (first_bb=0x2bc5e7e0, data=0x7ff0775c,
   follow_jumps=1) at ../../gcc/gcc/cse.c:5930
5930 gcc_assert (!TEST_BIT (cse_visited_basic_blocks, bb2->index));
(gdb) l
5925                  basic_block bb2 = e->dest;
5926 5927 #if ENABLE_CHECKING
5928                  /* We should only see blocks here that we have not
5929                     visited yet.  */
5930 gcc_assert (!TEST_BIT (cse_visited_basic_blocks, bb2->index));
5931    #endif
5932                  SET_BIT (cse_visited_basic_blocks, bb2->index);
5933                  data->path[path_size++].bb = bb2;
5934                  bb = bb2;


Reply via email to