This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: SIGSEGV in jc1
- To: Tuomas Leikola <tuomas dot leikola at digia dot com>
- Subject: Re: SIGSEGV in jc1
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Wed, 9 May 2001 15:03:28 -0400 (EDT)
- cc: java at gcc dot gnu dot org
On Wed, 9 May 2001, Tuomas Leikola wrote:
> would it not be a good idea to not compile a source file twice.. eg. reuse
> the earlier parsing/compilation?
There are several passes in jc1, that should avoid
reparsing any source file. I find jc1 first calls create_class for
each source file, then layout_class for each decl, and finally
java_complete_expand_class to generate class definitions.
I'm finding these sometimes get out of order due to process_imports. I
don't yet know why.
Jeff