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 failure with --enable-checking in flow.c


Bootstrapping CVS gcc current (as of 8am UTC today) on i686-linux
(glibc 2.1.3, Linux 2.3.48) with:
/cvs/gcc/configure --prefix=/opt/gcc-2.96 --enable-shared --enable-threads \
         --enable-checking --with-gnu-as --with-gnu-ld

I get a segmentation fault in cc1 when compiling function.c:
stage1/xgcc -Bstage1/ -B/opt/gcc-2.96/i686-pc-linux-gnu/bin/ -c  -DIN_GCC    -W -Wall -Wtraditional -pedantic -Wno-long-long -O2 -g -O2  -DHAVE_CONFIG_H    -I. -I/cvs/gcc/gcc -I/cvs/gcc/gcc/config -I/cvs/gcc/gcc/../include /cvs/gcc/gcc/function.c

Here's some output from gdb:
0x82ce7ac in make_edge (edge_cache=0x0, src=0x88e6228, dst=0x0, flags=0) at /cvs/gcc/gcc/flow.c:1121
1121      e->pred_next = dst->pred;
(gdb) up
#1  0x82ceacb in make_label_edge (edge_cache=0x0, src=0x88e6228, label=0x406c92c0, flags=0) at /cvs/gcc/gcc/flow.c:1153
1153      make_edge (edge_cache, src, BLOCK_FOR_INSN (label), flags);
(gdb) p label
$1 = 0x406c92c0
(gdb) pr label
(code_label 3751 0 0 1167 "" "" [5 uses])
(gdb) do
#0  0x82ce7ac in make_edge (edge_cache=0x0, src=0x88e6228, dst=0x0, flags=0) at /cvs/gcc/gcc/flow.c:1121
1121      e->pred_next = dst->pred;
(gdb) bt
#0  0x82ce7ac in make_edge (edge_cache=0x0, src=0x88e6228, dst=0x0, flags=0) at /cvs/gcc/gcc/flow.c:1121
#1  0x82ceacb in make_label_edge (edge_cache=0x0, src=0x88e6228, label=0x406c92c0, flags=0) at /cvs/gcc/gcc/flow.c:1153
#2  0x82cdeec in make_edges (label_value_list=0x0) at /cvs/gcc/gcc/flow.c:998
#3  0x82cb1f1 in find_basic_blocks (f=0x402aa7c0, nregs=1753, file=0x0) at /cvs/gcc/gcc/flow.c:458
#4  0x804e9d5 in rest_of_compilation (decl=0x405a0000) at /cvs/gcc/gcc/toplev.c:2826
#5  0x872e807 in finish_function (nested=0) at /cvs/gcc/gcc/c-decl.c:6500
#6  0x870cb3a in yyparse () at c-parse.y:313
#7  0x804d3c3 in compile_file (name=0x4010a230 "7") at /cvs/gcc/gcc/toplev.c:2258
#8  0x8051b20 in main (argc=16, argv=0xbffff714) at /cvs/gcc/gcc/toplev.c:4629
(gdb) show args
Argument list to give program being debugged when it is started is 
    "function.i -quiet -dumpbase function.c -g -O2 -O2 -W -Wall -Wtraditional -Wno-long-long -pedantic -version -o function.s".

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de


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