Bug 24127 - ICE in libjava.compile/PR6865.java reported as "PASS" in testsuite.
Summary: ICE in libjava.compile/PR6865.java reported as "PASS" in testsuite.
Alias: None
Product: gcc
Classification: Unclassified
Component: java (show other bugs)
Version: 4.1.0
: P2 normal
Target Milestone: 4.1.0
Assignee: Not yet assigned to anyone
URL: http://gcc.gnu.org/ml/java-patches/20...
Keywords: ice-on-invalid-code, patch
Depends on:
Reported: 2005-09-29 19:30 UTC by David Daney
Modified: 2005-10-23 23:01 UTC (History)
2 users (show)

See Also:
Host: i686-pc-linux-gnu
Target: i686-pc-linux-gnu
Build: i686-pc-linux-gnu
Known to work:
Known to fail:
Last reconfirmed: 2005-09-30 09:21:59


Note You need to log in before you can comment on or make changes to this bug.
Description David Daney 2005-09-29 19:30:02 UTC
Make -k check in libjava shows an ICE on this test case, However this is
reported as a PASS.

To reproduce: Run make -k check in libjava.
Comment 1 Ranjit Mathew 2005-09-30 09:21:58 UTC
Confirmed. Patch here:

Comment 2 CVS Commits 2005-10-03 17:30:41 UTC
Subject: Bug 24127

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rmathew@gcc.gnu.org	2005-10-03 17:30:38

Modified files:
	gcc/java       : ChangeLog parse.y 

Log message:
	PR java/24127
	* parse.y (method_header): Make the result of the rule a NULL_TREE
	when a parsing error occurs.


Comment 3 Ranjit Mathew 2005-10-03 17:31:52 UTC
Fix checked in.