java/6071: GCJ does not compile a large (21417 lines) java source file

Alexandre Petit-Bianco apbianco@cygnus.com
Wed Mar 27 09:46:00 GMT 2002


The following reply was made to PR java/6071; it has been noted by GNATS.

From: Alexandre Petit-Bianco <apbianco@cygnus.com>
To: shroff@transeda.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: java/6071: GCJ does not compile a large (21417 lines) java source file
Date: Wed, 27 Mar 2002 09:38:51 -0800 (PST)

 shroff@transeda.com writes:
 
 > I have a rather large .java file (21417 lines, 950 static methods) that
 > does not compile with gcj. I let gcj run for about 60 minutes, and it
 > still could not generate the class file. I killed the process after
 > 60 minutes of cpu time. Sun "javac" compiles this file in 90 seconds.
 
 You could try a newer version of gcc, like the 3.1 branch (which builds
 on Solaris 2.8. If the symptoms persist, you can run gdb on the jc1
 invocation and interrupt the process once you suspect it entered the
 generate_bytecode_insns loop and then to step through an iteration to
 find out what's going on.
 
 ./A



More information about the Gcc-prs mailing list