gcj/324: Tree check: expected tree_list, have pointer_type
osk@hem.passagen.se
osk@hem.passagen.se
Fri Aug 18 05:40:00 GMT 2000
>Number: 324
>Category: gcj
>Synopsis: Tree check: expected tree_list, have pointer_type
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apbianco
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 18 05:40:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Oskar Liljeblad
>Release: unknown-1.0
>Organization:
>Environment:
egcs 2.96 20000814
>Description:
Compiling the program below gives:
$ gcj -C test.java
test.java: In class `test':
test.java: In method `main(java.lang.String[])':
test.java:3: Tree check: expected tree_list, have pointer_type
test.java:3: Internal compiler error in find_as_inner_class_do, at ../gcc/java/parse.y:3516
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
Well, it should generate an error like
"Attempt to reference field lengths in java.lang.String[]".
>How-To-Repeat:
class test {
public static void main(String[] args) {
int a = args.lengths;
}
}
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Java-prs
mailing list