From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20852 invoked by alias); 31 Oct 2007 23:42:26 -0000 Received: (qmail 20825 invoked by uid 48); 31 Oct 2007 23:42:26 -0000 Date: Wed, 31 Oct 2007 23:42:00 -0000 Message-ID: <20071031234226.20824.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug java/33765] [4.3 regression] gcj internal compiler error when reading an empty file In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "jakub at gcc dot gnu dot org" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2007-q4/txt/msg00032.txt.bz2 ------- 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