http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54957



Ulrich Weigand <uweigand at gcc dot gnu.org> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

                 CC|                            |uweigand at gcc dot gnu.org



--- Comment #14 from Ulrich Weigand <uweigand at gcc dot gnu.org> 2012-10-23 
17:10:11 UTC ---

I'm getting the same crash when building libstdc++ for spu-elf:



Program received signal SIGSEGV, Segmentation fault.

emit_case_dispatch_table (index_expr=0xf601b1c0, index_type=0xf5e70420,

case_list=0x110001c0, default_label=0xeda05398, minval=0xf5dd0bc0,

maxval=0xf5dd3740, 

    range=0xf5dd3740, stmt_bb=0x0) at

/home/uweigand/fsf/gcc-head/gcc/stmt.c:1919

1919      edge default_edge = EDGE_SUCC(stmt_bb, 0);

(gdb) bt

#0  emit_case_dispatch_table (index_expr=0xf601b1c0, index_type=0xf5e70420,

case_list=0x110001c0, default_label=0xeda05398, minval=0xf5dd0bc0,

maxval=0xf5dd3740, 

    range=0xf5dd3740, stmt_bb=0x0) at

/home/uweigand/fsf/gcc-head/gcc/stmt.c:1919

#1  0x1079240c in expand_sjlj_dispatch_table (dispatch_index=<value optimized

out>, dispatch_table=0x10fe6108) at /home/uweigand/fsf/gcc-head/gcc/stmt.c:2292

#2  0x104ac3c4 in sjlj_emit_dispatch_table (dispatch_label=0xeda03980,

num_dispatch=8) at /home/uweigand/fsf/gcc-head/gcc/except.c:1363

#3  0x104ac6f0 in sjlj_build_landing_pads () at

/home/uweigand/fsf/gcc-head/gcc/except.c:1420

#4  0x104acb4c in finish_eh_generation () at

/home/uweigand/fsf/gcc-head/gcc/except.c:1454

#5  0x103ddc24 in gimple_expand_cfg () at

/home/uweigand/fsf/gcc-head/gcc/cfgexpand.c:4579

#6  0x106e1608 in execute_one_pass (pass=0x10ec19b4) at

/home/uweigand/fsf/gcc-head/gcc/passes.c:2320

#7  0x106e1cb4 in execute_pass_list (pass=0x10ec19b4) at

/home/uweigand/fsf/gcc-head/gcc/passes.c:2381

#8  0x10406770 in expand_function (node=0xf1998e50) at

/home/uweigand/fsf/gcc-head/gcc/cgraphunit.c:1601

#9  0x10407b44 in expand_all_functions () at

/home/uweigand/fsf/gcc-head/gcc/cgraphunit.c:1705

#10 0x10408060 in compile () at

/home/uweigand/fsf/gcc-head/gcc/cgraphunit.c:2003

#11 0x1040942c in finalize_compilation_unit () at

/home/uweigand/fsf/gcc-head/gcc/cgraphunit.c:2080

#12 0x101c5fc0 in cp_write_global_declarations () at

/home/uweigand/fsf/gcc-head/gcc/cp/decl2.c:4286

#13 0x107a6ef4 in compile_file () at

/home/uweigand/fsf/gcc-head/gcc/toplev.c:560

#14 0x107a77ec in do_compile () at

/home/uweigand/fsf/gcc-head/gcc/toplev.c:1866

#15 0x107a85bc in toplev_main (argc=23, argv=0xffabf8c4) at

/home/uweigand/fsf/gcc-head/gcc/toplev.c:1942

#16 0x10c0f6d0 in main (argc=<value optimized out>, argv=<value optimized out>)

at /home/uweigand/fsf/gcc-head/gcc/main.c:36

Reply via email to