public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/15741] New: ICE: SEGV in unchecked_make_edge
@ 2004-05-31 21:32 green at redhat dot com
2004-05-31 21:39 ` [Bug tree-optimization/15741] [3.5 Regression] " pinskia at gcc dot gnu dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: green at redhat dot com @ 2004-05-31 21:32 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/15741] [3.5 Regression] ICE: SEGV in unchecked_make_edge
2004-05-31 21:32 [Bug tree-optimization/15741] New: ICE: SEGV in unchecked_make_edge green at redhat dot com
@ 2004-05-31 21:39 ` pinskia at gcc dot gnu dot org
2004-05-31 21:45 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-31 21:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-31 01:57 -------
Confirmed, I think this is fixed by though:
2004-05-30 Steven Bosscher <stevenb@suse.de>
* gimplify.c (sort_case_labels): New. Split out from...
(gimplify_switch_expr): ...here. Use it.
* tree-eh.c (lower_try_finally_switch): Sort the labels of
the SWITCH_EXPR created here before leaving the function.
* tree.c (sort_case_labels): Add prototype.
I will test tommorrow around noon EDT after my daily build/test is done.
If you can test before it would be nice.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Status|UNCONFIRMED |WAITING
Keywords| |ice-on-valid-code
Summary|ICE: SEGV in |[3.5 Regression] ICE: SEGV
|unchecked_make_edge |in unchecked_make_edge
Target Milestone|--- |3.5.0
Version|unknown |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15741
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/15741] [3.5 Regression] ICE: SEGV in unchecked_make_edge
2004-05-31 21:32 [Bug tree-optimization/15741] New: ICE: SEGV in unchecked_make_edge green at redhat dot com
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
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-31 21:45 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |steven at gcc dot gnu dot
| |org
Status|WAITING |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-05-31 02:22:21
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15741
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/15741] [3.5 Regression] ICE: SEGV in unchecked_make_edge
2004-05-31 21:32 [Bug tree-optimization/15741] New: ICE: SEGV in unchecked_make_edge green at redhat dot com
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
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: green at redhat dot com @ 2004-06-01 22:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From green at redhat dot com 2004-06-01 22:42 -------
(In reply to comment #1)
> Confirmed, I think this is fixed by though:
> 2004-05-30 Steven Bosscher <stevenb@suse.de>
>
No, it is not fixed by this. I already had that patch in my compiler. This is
still a bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15741
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/15741] [3.5 Regression] ICE: SEGV in unchecked_make_edge
2004-05-31 21:32 [Bug tree-optimization/15741] New: ICE: SEGV in unchecked_make_edge green at redhat dot com
` (2 preceding siblings ...)
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
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-01 22:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-01 22:45 -------
But should be fixed when this patch gets approved and applied: <http://gcc.gnu.org/ml/gcc-patches/
2004-06/msg00059.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15741
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/15741] [3.5 Regression] ICE: SEGV in unchecked_make_edge
2004-05-31 21:32 [Bug tree-optimization/15741] New: ICE: SEGV in unchecked_make_edge green at redhat dot com
` (3 preceding siblings ...)
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
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rmathew at gcc dot gnu dot org @ 2004-06-02 7:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rmathew at gcc dot gnu dot org 2004-06-02 07:21 -------
I was facing a very similar issue, which was fixed by:
http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00059.html
(At the time of writing this, it has not yet been approved
or applied.)
See if it solves your problem too.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15741
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/15741] [3.5 Regression] ICE: SEGV in unchecked_make_edge
2004-05-31 21:32 [Bug tree-optimization/15741] New: ICE: SEGV in unchecked_make_edge green at redhat dot com
` (4 preceding siblings ...)
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
7 siblings, 0 replies; 9+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-06-02 8:00 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From steven at gcc dot gnu dot org 2004-06-02 08:00 -------
Geez, might as well take this one if my patch fixes it.
After all I was also responsible for this breakage ;-)
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |steven at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15741
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/15741] [3.5 Regression] ICE: SEGV in unchecked_make_edge
2004-05-31 21:32 [Bug tree-optimization/15741] New: ICE: SEGV in unchecked_make_edge green at redhat dot com
` (5 preceding siblings ...)
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
7 siblings, 0 replies; 9+ messages in thread
From: green at redhat dot com @ 2004-06-02 15:01 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From green at redhat dot com 2004-06-02 15:01 -------
Steven's patch does appear to fix the problem. Hopefully somebody will approve
it soon.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15741
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/15741] [3.5 Regression] ICE: SEGV in unchecked_make_edge
2004-05-31 21:32 [Bug tree-optimization/15741] New: ICE: SEGV in unchecked_make_edge green at redhat dot com
` (6 preceding siblings ...)
2004-06-02 15:01 ` green at redhat dot com
@ 2004-06-04 13:21 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-04 13:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-04 13:21 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15741
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-06-04 13:21 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-31 21:32 [Bug tree-optimization/15741] New: ICE: SEGV in unchecked_make_edge green at redhat dot com
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
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).