From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9105 invoked by alias); 12 May 2010 17:39:51 -0000 Received: (qmail 9078 invoked by uid 48); 12 May 2010 17:39:50 -0000 Date: Wed, 12 May 2010 17:39:00 -0000 Message-ID: <20100512173950.9077.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/42811] [4.5 regression] java.lang.ExceptionInInitializerError in ecj1 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "ubizjak at gmail dot com" 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: 2010-q2/txt/msg00044.txt.bz2 ------- Comment #20 from ubizjak at gmail dot com 2010-05-12 17:39 ------- (In reply to comment #19) > As indeed it does in the other case as well, which now makes me suspect that > the alpha FAIL is probably a false negative. The test code is rather old, > declares main as an implict int function, and doesn't have a return statement > in it. That could easily end up returning some random register contents as an > exit status. Do you have time to check if adding a "return 0;" at the end of > the main() function resolves the failure? Yeah, adding "return 0;" fixes the failure! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42811