This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/33765] [4.3 regression] gcj internal compiler error when reading an empty file
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Oct 2007 23:42:26 -0000
- Subject: [Bug java/33765] [4.3 regression] gcj internal compiler error when reading an empty file
- References: <bug-33765-5606@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from jakub at gcc dot gnu dot org 2007-10-31 23:42 -------
Well, package-info.java files containing just package something; line
and comments are quite common, and for them ecj1 creates an empty jar file.
If the whole package is compiled at once, then there will be a bigger jar file
and so this ICE or error won't trigger, but just letting gcj compile each
*.java
file into *.o individually in a makefile (using ecj1 internally) wouldn't work
in such cases.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33765