This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/15741] New: ICE: SEGV in unchecked_make_edge
- From: "green at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 May 2004 01:48:14 -0000
- Subject: [Bug tree-optimization/15741] New: ICE: SEGV in unchecked_make_edge
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I discovered this while building xerces from rhug.
public final class Base64 {
public static String decode(String base64Data) {
try {
System.out.println ("Hello");
} catch(Exception e) {
}
finally {
return null;
}
}
}
$ gcj -O2 Base64.java -c
Base64.java: In class `Base64':
Base64.java: In method `Base64.decode(java.lang.String)':
Base64.java:2: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Here's a stack trace:
Program received signal SIGSEGV, Segmentation fault.
0x081d7d9f in unchecked_make_edge (src=0xf6d6c984, dst=0x0, flags=10)
at /home/green/sources/jhbuild-src/gcc/gcc/cfg.c:284
284 e->pred_next = dst->pred;
(gdb) where
#0 0x081d7d9f in unchecked_make_edge (src=0xf6d6c984, dst=0x0, flags=10)
at /home/green/sources/jhbuild-src/gcc/gcc/cfg.c:284
#1 0x081d7eaf in cached_make_edge (edge_cache=0x0, src=0xf6d6c984, dst=0x0,
flags=10) at /home/green/sources/jhbuild-src/gcc/gcc/cfg.c:332
#2 0x081d7f2c in make_edge (src=0xf6d6c984, dest=0x0, flags=10)
at /home/green/sources/jhbuild-src/gcc/gcc/cfg.c:346
#3 0x0812951d in make_eh_edge (region=0xf6d6a380, data=0xf6d88d3c)
at /home/green/sources/jhbuild-src/gcc/gcc/tree-eh.c:1646
#4 0x08240170 in add_reachable_handler (info=0xfef52a30,
lp_region=0xf6d6a380, region=0xf6d6a380)
at /home/green/sources/jhbuild-src/gcc/gcc/except.c:2827
#5 0x082401b1 in reachable_next_level (region=0xf6d6a380, type_thrown=0x0,
info=0xfef52a30) at /home/green/sources/jhbuild-src/gcc/gcc/except.c:2845
#6 0x08240547 in foreach_reachable_handler (region_number=2, is_resx=false,
callback=0x81294ce <make_eh_edge>, callback_data=0xf6d88d3c)
at /home/green/sources/jhbuild-src/gcc/gcc/except.c:3028
#7 0x08129641 in make_eh_edges (stmt=0xf6d88d3c)
at /home/green/sources/jhbuild-src/gcc/gcc/tree-eh.c:1668
#8 0x08110bf3 in make_exit_edges (bb=0xf6d6c984)
at /home/green/sources/jhbuild-src/gcc/gcc/tree-cfg.c:559
#9 0x081107b8 in make_edges ()
at /home/green/sources/jhbuild-src/gcc/gcc/tree-cfg.c:442
#10 0x08110097 in build_tree_cfg (tp=0xf6df3fc4)
at /home/green/sources/jhbuild-src/gcc/gcc/tree-cfg.c:173
#11 0x08110133 in execute_build_cfg ()
at /home/green/sources/jhbuild-src/gcc/gcc/tree-cfg.c:196
#12 0x0812d9bf in execute_one_pass (pass=0x861e420)
at /home/green/sources/jhbuild-src/gcc/gcc/tree-optimize.c:406
#13 0x0812da63 in execute_pass_list (pass=0x861e420)
at /home/green/sources/jhbuild-src/gcc/gcc/tree-optimize.c:435
#14 0x0812da81 in execute_pass_list (pass=0x861e740)
at /home/green/sources/jhbuild-src/gcc/gcc/tree-optimize.c:436
#15 0x0812dd9d in tree_rest_of_compilation (fndecl=0xf6df3f68, nested_p=false)
at /home/green/sources/jhbuild-src/gcc/gcc/tree-optimize.c:530
#16 0x080caad2 in java_expand_body (fndecl=0xf6df3f68)
at /home/green/sources/jhbuild-src/gcc/gcc/java/decl.c:1846
#17 0x084f46ae in cgraph_expand_function (node=0xf6d72f68)
at /home/green/sources/jhbuild-src/gcc/gcc/cgraphunit.c:794
#18 0x084f652a in cgraph_expand_all_functions ()
at /home/green/sources/jhbuild-src/gcc/gcc/cgraphunit.c:1668
#19 0x084f680b in cgraph_optimize ()
at /home/green/sources/jhbuild-src/gcc/gcc/cgraphunit.c:1758
#20 0x080efb95 in java_parse_file (set_yydebug=0)
at /home/green/sources/jhbuild-src/gcc/gcc/java/jcf-parse.c:1123
#21 0x08486e28 in compile_file ()
at /home/green/sources/jhbuild-src/gcc/gcc/toplev.c:1653
--
Summary: ICE: SEGV in unchecked_make_edge
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: green at redhat dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15741