------- Comment #1 from jakub at gcc dot gnu dot org  2007-10-28 15:47 -------
Created an attachment (id=14427)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14427&action=view)
gcc43-pr33765.patch

In this case (and e.g. also in case where you gcj -c package-info.java
from #297961) ecj1 creates an empty zip file, which contains just the
end central signature and nothing else (so doesn't have the usual
PK\3\4 magic, but PK\5\6).  The attached patch will handle it the same
as file with PK\3\4 magic, but it will still issue an error because the
expected
file wasn't found in the (empty) jar file.  Not sure what exact behavior we
want,
if giving an error is fine or if we e.g. should silently compile it into an
empty
.s file.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33765

Reply via email to