public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: java/7787: ICE on calling nonexistent method
@ 2002-10-08  8:02 aph
  0 siblings, 0 replies; 2+ messages in thread
From: aph @ 2002-10-08  8:02 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, java-prs, jmr, nobody

Synopsis: ICE on calling nonexistent method

State-Changed-From-To: open->closed
State-Changed-By: aph
State-Changed-When: Tue Oct  8 08:02:39 2002
State-Changed-Why:
    Fixed

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7787


^ permalink raw reply	[flat|nested] 2+ messages in thread

* java/7787: ICE on calling nonexistent method
@ 2002-08-30 22:24 jmr
  0 siblings, 0 replies; 2+ messages in thread
From: jmr @ 2002-08-30 22:24 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7787
>Category:       java
>Synopsis:       ICE on calling nonexistent method
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 30 21:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jesse Rosenstock
>Release:        3.3 20020828 (experimental)
>Organization:
>Environment:
System: Linux churchill 2.4.3-12 #1 Fri Jun 8 15:05:56 EDT 2001 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc/configure --prefix=/home/user/jmr/app/gcc --enable-langs=c++,java --enable-shared --enable-threads=posix --with-as=/home/user/jmr/app/binutils/bin/as --with-ld=/home/user/jmr/app/binutils/bin/ld : (reconfigured) 
>Description:
	ICE on calling a nonexistent method of a class.  
>How-To-Repeat:
; cat Foo.java
public class Foo {
    static class A { }
    public static void main(String[] args) {
        A a = null;
        a.foo();
        System.out.println(1);
    }
}

; gcj Foo.java
Foo.java: In class `Foo':
Foo.java: In method `Foo.main(java.lang.String[])':
Foo.java:5: error: Can't find method `foo()' in type `Foo$A'.
           a.foo();
            ^
Foo.java:3: internal compiler error: tree check: expected block, have error_mark in attach_init_test_initialization_flags, at java/parse.y:16227
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

If the println is commented out, then there will not be an ICE.

>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-08 15:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-08  8:02 java/7787: ICE on calling nonexistent method aph
  -- strict thread matches above, loose matches on Subject: below --
2002-08-30 22:24 jmr

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).