Bug 24127

Summary: ICE in libjava.compile/PR6865.java reported as "PASS" in testsuite.
Product: gcc Reporter: David Daney <daney>
Component: javaAssignee: Not yet assigned to anyone <unassigned>
Severity: normal CC: gcc-bugs, java-prs
Priority: P2 Keywords: ice-on-invalid-code, patch
Version: 4.1.0   
Target Milestone: 4.1.0   
URL: http://gcc.gnu.org/ml/java-patches/2005-q3/msg00484.html
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

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.