This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/17216] New: ICE in 3.5, error in 3.4.1 when compiling .class->.o
- From: "ovidr at users dot sourceforge dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 27 Aug 2004 18:08:34 -0000
- Subject: [Bug java/17216] New: ICE in 3.5, error in 3.4.1 when compiling .class->.o
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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