public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/5764: jc1 cfgcleanup SEGV
@ 2002-02-23 17:53 Anthony Green
  0 siblings, 0 replies; 2+ messages in thread
From: Anthony Green @ 2002-02-23 17:53 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5764
>Category:       java
>Synopsis:       jc1 cfgcleanup SEGV
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 23 17:46:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Anthony Green
>Release:        3.1 20020222 (experimental)
>Organization:
>Environment:
System: Linux menlo 2.4.9-21 #1 Thu Jan 17 14:16:30 EST 2002 i686 unknown
Architecture: i686

	<machine, os, target, libraries (multiple lines)>
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc/configure --prefix=/home/green/trunk/i --enable-languages=c,c++,java --with-languages=c,c++,java
>Description:

jc1 is failing somewhere in cfgcleanup when building the Mozilla
javascript interpreter.

Here's a stack trace...

(gdb) where
#0  outgoing_edges_match (mode=3, bb1=0x89e2c3c, bb2=0x89e49e8)
    at ../../gcc/gcc/cfgcleanup.c:1250
#1  0x0823cd09 in try_crossjump_to_edge (mode=3, e1=0x89ea4c8, e2=0x89ed920)
    at ../../gcc/gcc/cfgcleanup.c:1311
#2  0x0823d0b5 in try_crossjump_bb (mode=3, bb=0x89eb1f0)
    at ../../gcc/gcc/cfgcleanup.c:1504
#3  0x0823d4a2 in try_optimize_cfg (mode=3) at ../../gcc/gcc/cfgcleanup.c:1662
#4  0x0823d6d5 in cleanup_cfg (mode=3) at ../../gcc/gcc/cfgcleanup.c:1754
#5  0x082055a4 in rest_of_compilation (decl=0x401ca540)
    at ../../gcc/gcc/toplev.c:3275
#6  0x081af027 in output_inline_function (fndecl=0x401ca540)
    at ../../gcc/gcc/integrate.c:2996
#7  0x08084e9c in finish_class () at ../../gcc/gcc/java/class.c:1767
#8  0x080643d8 in java_expand_classes ()
    at /home/green/trunk/gcc/gcc/java/parse.y:9047
#9  0x080a3509 in yyparse () at ../../gcc/gcc/java/jcf-parse.c:1210
#10 0x08203979 in compile_file () at ../../gcc/gcc/toplev.c:2127
#11 0x08208043 in do_compile () at ../../gcc/gcc/toplev.c:5182
#12 0x08208095 in toplev_main (argc=5, argv=0xbffff6b4)
    at ../../gcc/gcc/toplev.c:5214
#13 0x40044627 in __libc_start_main (main=0x80b2138 <main>, argc=5, 
    ubp_av=0xbffff6b4, init=0x804925c <_init>, fini=0x82b6230 <_fini>, 
    rtld_fini=0x4000dcc4 <_dl_fini>, stack_end=0xbffff6ac)
    at ../sysdeps/generic/libc-start.c:129

>How-To-Repeat:

I've trimmed down a test case, which you can find here:
	
	http://www.cygnus.com/~green/jc1bug.tar.gz

Reproduce the failure like so...

	jc1 -O2 -fclasspath=rhino-1.5R2.jar Interpreter.java

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: java/5764: jc1 cfgcleanup SEGV
@ 2002-03-01  5:50 green
  0 siblings, 0 replies; 2+ messages in thread
From: green @ 2002-03-01  5:50 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, green, green, java-prs, jh, nobody

Synopsis: jc1 cfgcleanup SEGV

Responsible-Changed-From-To: unassigned->green
Responsible-Changed-By: green
Responsible-Changed-When: Fri Mar  1 05:50:28 2002
Responsible-Changed-Why:
    This is fixed.
State-Changed-From-To: open->closed
State-Changed-By: green
State-Changed-When: Fri Mar  1 05:50:28 2002
State-Changed-Why:
    Fixed in the trunk and 3.1 branch by Jan Hubicka.  Thanks Jan!

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5764


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-03-01 13:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-23 17:53 java/5764: jc1 cfgcleanup SEGV Anthony Green
2002-03-01  5:50 green

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).