gcj/268: Internal compiler error in for-loop test condition
duvall@emufarm.org
duvall@emufarm.org
Fri Jun 23 01:16:00 GMT 2000
>Number: 268
>Category: gcj
>Synopsis: Internal compiler error in for-loop test condition
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apbianco
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 23 01:16:02 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:
More information about the Java-prs
mailing list