This is the mail archive of the java-prs@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]
Other format: [Raw text]

[Bug target/42811] [4.5 regression] java.lang.ExceptionInInitializerError in ecj1



------- 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


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