This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: SIGSEGV in jc1




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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]