public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "green at redhat dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/15741] New: ICE: SEGV in unchecked_make_edge Date: Mon, 31 May 2004 21:32:00 -0000 [thread overview] Message-ID: <20040531014759.15741.green@redhat.com> (raw) 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
next reply other threads:[~2004-05-31 1:48 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-05-31 21:32 green at redhat dot com [this message] 2004-05-31 21:39 ` [Bug tree-optimization/15741] [3.5 Regression] " pinskia at gcc dot gnu dot org 2004-05-31 21:45 ` pinskia at gcc dot gnu dot org 2004-06-01 22:42 ` green at redhat dot com 2004-06-01 22:45 ` pinskia at gcc dot gnu dot org 2004-06-02 7:21 ` rmathew at gcc dot gnu dot org 2004-06-02 8:00 ` steven at gcc dot gnu dot org 2004-06-02 15:01 ` green at redhat dot com 2004-06-04 13:21 ` pinskia at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20040531014759.15741.green@redhat.com \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).