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>
Status: RESOLVED FIXED    
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:

http://gcc.gnu.org/ml/java-patches/2005-q3/msg00484.html
Comment 2 GCC 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.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&r1=1.1667&r2=1.1668
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/parse.y.diff?cvsroot=gcc&r1=1.556&r2=1.557

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