This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
java/1288: Internal compiler error in for-loop test condition
- To: java-gnats at sourceware dot cygnus dot com
- Subject: java/1288: Internal compiler error in for-loop test condition
- From: duvall at emufarm dot org
- Date: 23 Jun 2000 08:09:58 -0000
- Reply-To: duvall at emufarm dot org
>Number: 1288
>Category: java
>Synopsis: Internal compiler error in for-loop test condition
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: tromey
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 20 12:18:41 PST 2000
>Closed-Date: Tue Jul 04 11:20:59 PDT 2000
>Last-Modified: Tue Jul 4 11:30:00 PDT 2000
>Originator: duvall@emufarm.org
>Release: latest CVS
>Organization:
>Environment:
Using latest gcc from CVS, as well as latest libgcj.
>Description:
When given a for loop that has a unary test for its test
condition, gcj gives an internal compiler error:
Test.java:5: Tree check: expected class 'e', have 'c' (integer_cst)
Test.java:5: Internal compiler error in `java_parse', at ../gcc/java/parse.y:1634
>How-To-Repeat:
Attempt to compile the following .java file:
public class Test
{
public static void main(String[] args) {
for (int i = 0; true; i++)
;
}
}
>Fix:
>Release-Note:
>Audit-Trail:
Formerly PR gcj/268
State-Changed-From-To: open->analyzed
State-Changed-By: tromey
State-Changed-When: Fri Jun 23 13:50:13 2000
State-Changed-Why:
I know what the bug is. I have a patch which fixes
it, but I'm not positive it is the right patch.
From: tromey@cygnus.com
To: apbianco@cygnus.com, duvall@emufarm.org, java-gnats@sourceware.cygnus.com
Cc:
Subject: Re: gcj/268
Date: 23 Jun 2000 20:50:13 -0000
Synopsis: Internal compiler error in for-loop test condition
State-Changed-From-To: open->analyzed
State-Changed-By: tromey
State-Changed-When: Fri Jun 23 13:50:13 2000
State-Changed-Why:
I know what the bug is. I have a patch which fixes
it, but I'm not positive it is the right patch.
http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&pr=268&database=java
Responsible-Changed-From-To: apbianco->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Mon Jul 3 13:35:25 2000
Responsible-Changed-Why:
I fixed it.
State-Changed-From-To: analyzed->feedback
State-Changed-By: tromey
State-Changed-When: Mon Jul 3 13:35:25 2000
State-Changed-Why:
I've checked in a patch for this.
Can you give it a try and get back to me?
If not, tell me and I will close the PR.
From: tromey@cygnus.com
To: apbianco@cygnus.com, duvall@emufarm.org, java-gnats@sourceware.cygnus.com,
tromey@cygnus.com
Cc:
Subject: Re: gcj/268
Date: 3 Jul 2000 20:35:25 -0000
Synopsis: Internal compiler error in for-loop test condition
Responsible-Changed-From-To: apbianco->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Mon Jul 3 13:35:25 2000
Responsible-Changed-Why:
I fixed it.
State-Changed-From-To: analyzed->feedback
State-Changed-By: tromey
State-Changed-When: Mon Jul 3 13:35:25 2000
State-Changed-Why:
I've checked in a patch for this.
Can you give it a try and get back to me?
If not, tell me and I will close the PR.
http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&pr=268&database=java
State-Changed-From-To: feedback->closed
State-Changed-By: tromey
State-Changed-When: Tue Jul 4 11:20:59 2000
State-Changed-Why:
Reported as closed.
Thanks.
From: tromey@cygnus.com
To: duvall@emufarm.org, java-gnats@sourceware.cygnus.com, tromey@cygnus.com
Cc:
Subject: Re: gcj/268
Date: 4 Jul 2000 18:20:59 -0000
Synopsis: Internal compiler error in for-loop test condition
State-Changed-From-To: feedback->closed
State-Changed-By: tromey
State-Changed-When: Tue Jul 4 11:20:59 2000
State-Changed-Why:
Reported as closed.
Thanks.
http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&pr=268&database=java
>Unformatted: