public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/17216] New: ICE in 3.5, error in 3.4.1  when compiling .class->.o
@ 2004-08-27 18:08 ovidr at users dot sourceforge dot net
  2004-08-27 20:49 ` [Bug java/17216] " tromey at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ovidr at users dot sourceforge dot net @ 2004-08-27 18:08 UTC (permalink / raw)
  To: java-prs

javac -target 1.1 stat.java
gcj -c stat.class

3.4.1: stat$B.java:0: error: non-static method 'stat$B.internal_new_GC(int)' 
overrides static method

3.5: stat.class:0: internal compiler error: in size_binop, at fold-const.c:1707


class stat {

        public static void main(String[] a) {
                stat s = new stat();
        }       

        class B extends A {
                public long internal_new_GC(int a) {
                        return 0L;
                }
        }

        public abstract class A implements I {

        }

        public interface I {
                public long internal_new_GC (int a);
        }


}

(might be related to PR 15888, but that one is compiling .java source, 
not .class)

-- 
           Summary: ICE in 3.5, error in 3.4.1  when compiling .class->.o
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ovidr at users dot sourceforge dot net
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17216


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

end of thread, other threads:[~2004-09-14  1:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-27 18:08 [Bug java/17216] New: ICE in 3.5, error in 3.4.1 when compiling .class->.o ovidr at users dot sourceforge dot net
2004-08-27 20:49 ` [Bug java/17216] " tromey at gcc dot gnu dot org
2004-09-14  1:50 ` cvs-commit at gcc dot gnu dot org
2004-09-14  1:52 ` tromey at gcc dot gnu dot org

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