This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/54957] Two crashes introduced by rev192488
- From: "amylaar at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 22 Oct 2012 23:37:07 +0000
- Subject: [Bug middle-end/54957] Two crashes introduced by rev192488
- Auto-submitted: auto-generated
- References: <bug-54957-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54957
Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-10-22
CC| |amylaar at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #13 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> 2012-10-22 23:37:07 UTC ---
(In reply to comment #0)
> Program received signal SIGSEGV, Segmentation fault.
> 0x087696fb in emit_case_dispatch_table (index_expr=0x1121f18,
> index_type=0x1403c0, case_list=0xa7de974, default_label=0x125e18c,
> minval=0x12b690, maxval=0x12bbf4, range=0x12bbf4, stmt_bb=0x0)
> at /builds/gnu-gcc-trunk/svn/arm-oabi/../gcc/stmt.c:1919
>
>
> #0 0x087696fb in emit_case_dispatch_table (index_expr=0x1121f18,
> index_type=0x1403c0, case_list=0xa7de974, default_label=0x125e18c,
> minval=0x12b690, maxval=0x12bbf4, range=0x12bbf4, stmt_bb=0x0)
> at /builds/gnu-gcc-trunk/svn/arm-oabi/../gcc/stmt.c:1919
> #1 0x08769fab in expand_sjlj_dispatch_table (dispatch_index=0x125bc9c,
> dispatch_table=0xa7b2be0)
> at /builds/gnu-gcc-trunk/svn/arm-oabi/../gcc/stmt.c:2292
I got essentially the same here for arc-elf32:
Starting program: /home/joern/synopsys/arc_gnu_4.8-r192641/bd-elf32/gcc/cc1plus
-fpreprocessed complex_io.ii -quiet -dumpbase complex_io.cc -auxbase-strip
complex_io.o -g -O2 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -version
-fno-implicit-templates -fdiagnostics-show-location=once -ffunction-sections
-fdata-sections -frandom-seed=complex_io.lo -o complex_io.s
GNU C++ (ARCompact elf32 toolchain (built 20121023)) version 4.8.0 20121020
(experimental) (arc-elf32)
compiled by GNU C version 4.7.2 20120921 (Red Hat 4.7.2-2), GMP version
5.0.2, MPFR version 3.1.0, MPC version 0.9
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C++ (ARCompact elf32 toolchain (built 20121023)) version 4.8.0 20121020
(experimental) (arc-elf32)
compiled by GNU C version 4.7.2 20120921 (Red Hat 4.7.2-2), GMP version
5.0.2, MPFR version 3.1.0, MPC version 0.9
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: ee7ca61d2a64c77d0855e3f95c0f285e
Program received signal SIGSEGV, Segmentation fault.
0x086ac657 in emit_case_dispatch_table (
index_expr=index_expr@entry=0xb7081508,
index_type=index_type@entry=0xb7bfc3c0, case_list=0x8d89bac,
default_label=default_label@entry=0xb7096414,
minval=minval@entry=0xb7be7618, maxval=maxval@entry=0xb7c9485c,
range=range@entry=0xb7c9485c, stmt_bb=stmt_bb@entry=0x0)
at /home/joern/synopsys/arc_gnu_4.8-r192641/unisrc/gcc/stmt.c:1919
1919 edge default_edge = EDGE_SUCC(stmt_bb, 0);
(gdb) bt
#0 0x086ac657 in emit_case_dispatch_table (
index_expr=index_expr@entry=0xb7081508,
index_type=index_type@entry=0xb7bfc3c0, case_list=0x8d89bac,
default_label=default_label@entry=0xb7096414,
minval=minval@entry=0xb7be7618, maxval=maxval@entry=0xb7c9485c,
range=range@entry=0xb7c9485c, stmt_bb=stmt_bb@entry=0x0)
at /home/joern/synopsys/arc_gnu_4.8-r192641/unisrc/gcc/stmt.c:1919
#1 0x086b4104 in expand_sjlj_dispatch_table (dispatch_index=0xb7095438,
dispatch_table=0x8d7e150)
at /home/joern/synopsys/arc_gnu_4.8-r192641/unisrc/gcc/stmt.c:2292
#2 0x0847a661 in sjlj_emit_dispatch_table (num_dispatch=8,
dispatch_label=0xb709296c)
at /home/joern/synopsys/arc_gnu_4.8-r192641/unisrc/gcc/except.c:1363
#3 sjlj_build_landing_pads ()
at /home/joern/synopsys/arc_gnu_4.8-r192641/unisrc/gcc/except.c:1420
#4 finish_eh_generation ()
at /home/joern/synopsys/arc_gnu_4.8-r192641/unisrc/gcc/except.c:1454
#5 0x083d481b in gimple_expand_cfg ()
at /home/joern/synopsys/arc_gnu_4.8-r192641/unisrc/gcc/cfgexpand.c:4579
#6 0x08615c6c in execute_one_pass (pass=pass@entry=0x8c5ca00)
at /home/joern/synopsys/arc_gnu_4.8-r192641/unisrc/gcc/passes.c:2320
#7 0x08616095 in execute_pass_list (pass=0x8c5ca00)
at /home/joern/synopsys/arc_gnu_4.8-r192641/unisrc/gcc/passes.c:2381