public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/1350: Tree check: expected tree_list, have pointer_type
@ 2000-12-20 12:25 osk
  0 siblings, 0 replies; only message in thread
From: osk @ 2000-12-20 12:25 UTC (permalink / raw)
  To: java-gnats

>Number:         1350
>Category:       java
>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:   Wed Dec 20 12:19:16 PST 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:

Formerly PR gcj/324

>Unformatted:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-12-20 12:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-20 12:25 java/1350: Tree check: expected tree_list, have pointer_type osk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).