This is the mail archive of the
java-prs@sources.redhat.com
mailing list for the Java project.
gcj/324: Tree check: expected tree_list, have pointer_type
- To: java-gnats at sourceware dot cygnus dot com
- Subject: gcj/324: Tree check: expected tree_list, have pointer_type
- From: osk at hem dot passagen dot se
- Date: 18 Aug 2000 12:30:30 -0000
- Reply-To: osk at hem dot passagen dot se
- Resent-Cc: java-prs at sourceware dot cygnus dot com, green at cygnus dot com
- Resent-Reply-To: java-gnats@sourceware.cygnus.com, osk@hem.passagen.se
>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: