public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* Re: java/7283: ICE on recursive import of inner classes
@ 2003-05-13  6:35 steven
  0 siblings, 0 replies; 2+ messages in thread
From: steven @ 2003-05-13  6:35 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, java-prs, jmr, nobody

Synopsis: ICE on recursive import of inner classes

State-Changed-From-To: open->feedback
State-Changed-By: steven
State-Changed-When: Tue May 13 06:35:24 2003
State-Changed-Why:
    Dara has asked for feedback

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


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

* java/7283: ICE on recursive import of inner classes
@ 2002-07-12  1:06 jmr
  0 siblings, 0 replies; 2+ messages in thread
From: jmr @ 2002-07-12  1:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7283
>Category:       java
>Synopsis:       ICE on recursive import of inner classes
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 12 01:06:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jesse Rosenstock
>Release:        3.2 20020710 (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: ./configure --prefix=/home/user/jmr/app/gcc
>Description:
	
>How-To-Repeat:
	
    Create one file X.java:

    package p;
    import p.Y.YY;
    public class X {
        public class XX {
        }
    }

    And another Y.java:

    package p;
    import p.X.XX;
    public class Y {
        public class YY {
        }
    }

    gcj -v X.java gives:

    Reading specs from /home/user/jmr/app/gcc/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
    Reading specs from /home/user/jmr/app/gcc/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../libgcj.spec
    rename spec lib to liborig
    Configured with: ./configure --prefix=/home/user/jmr/app/gcc
    Thread model: single
    gcc version 3.2 20020710 (experimental)
     /home/user/jmr/app/gcc/lib/gcc-lib/i686-pc-linux-gnu/3.2/jc1 X.java -fno-use-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions -fkeep-inline-functions -quiet -dumpbase X.java -g1 -version -o /tmp/ccGfcO76.s
    GNU Java version 3.2 20020710 (experimental) (i686-pc-linux-gnu)
            compiled by GNU C version 2.96 20000731 (Red Hat Linux 7.1 2.96-85).
    Class path starts here:
        /home/user/jmr/gcj_test/nested/
        /home/user/jmr/app/gcc/share/java/libgcj-3.2.jar/ (system) (zip)
    /home/user/jmr/gcj_test/nested/p/X.java:5: error: Class `p.X' already defined in X.java:5.
       public class X {
                    ^
    /home/user/jmr/gcj_test/nested/p/X.java:6: internal compiler error: tree check: expected class 'd', have 'x' (error_mark) in make_nested_class_name, at java/parse.y:3539
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

    Javac accepts this code.
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2003-05-13  6:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-13  6:35 java/7283: ICE on recursive import of inner classes steven
  -- strict thread matches above, loose matches on Subject: below --
2002-07-12  1:06 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).