Patch PING: PR middle-end/21362: ICE in make_edges, at cfgbuild.c:327

Andrew Haley aph@redhat.com
Thu May 25 16:21:00 GMT 2006


Richard Henderson writes:
 > On Thu, May 25, 2006 at 12:10:27PM +0100, Andrew Haley wrote:
 > > Bryce McKinlay writes:
 > >  > Richard Henderson wrote:
 > >  > > On Mon, May 15, 2006 at 03:01:46PM +0100, Andrew Haley wrote:
 > >  > >   
 > >  > >> Please have a look at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27590.
 > >  > >>     
 > >  > >
 > >  > > Can you show me how to compile this test case?  I seem to get
 > >  > > lots of missing class errors, e.g.
 > >  > >
 > >  > > org/apache/catalina/core/StandardServer.java:0: error: cannot find file \
 > >  > >   for class javax.management.MBeanRegistration
 > >  > >
 > >  > > Which, afaict, doesn't exist in libjava.
 > >  > 
 > >  > Don't forget -findirect-dispatch.
 > >  
 > > Right.  You have to use the command line in the bug report, which is:
 > > 
 > > gcj -shared -O -findirect-dispatch StandardServer.class
 > > 
 > > Richard, have you had a chance to look at this?
 > 
 > I *did* use -findirect-dispatch.  It doesn't get far enough
 > to display your problem, I assumed due to missing classes.

The "cannot find file for class" message is disabled by
-findirect-dispatch.  That's why Bryce and I thought you hadn't used
-findirect-dispatch.

So, I don't understand how this can have happened.  It may be some
other bug, of course, but I can't duplicate your result.  Maybe the
gcj you tested had itself been miscompiled.

For what it's worth, with cuurent HEAD I get:

zorro:~ $ ~/install/bin/gcj -shared -O -findirect-dispatch StandardServer.class
org/apache/catalina/core/StandardServer.java: In class 'org.apache.catalina.core.StandardServer':
org/apache/catalina/core/StandardServer.java: In method 'org.apache.catalina.core.StandardServer.storeConfig()':
org/apache/catalina/core/StandardServer.java:0: 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.

If you will please cut and paste the command you tried, I can then
attempt to duplicate it.

TVM,
Andrew.



More information about the Gcc-patches mailing list