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


Attachments

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:

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

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.