This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/13964] New: jc1 crash when compiling class with circular definitions
- From: "guilhem at kaffe dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Feb 2004 21:01:12 -0000
- Subject: [Bug java/13964] New: jc1 crash when compiling class with circular definitions
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
If you try to compile these two interfaces using 'gcj -c V.java V2.java', you
will obtain a compiler crash. The crash does not happen when you first compile
using 'gcj -C' and then 'gcc -c'. So the presence of the class files should
prevent it as it may be showed by compiling the class using another compiler.
The crash is already present in gcc 3.3.1 and suspected in gcc 3.4.0 (though not
tested) because it's always present in gcc-cvs (head).
public interface V {
int a = V2.b;
}
public interface V2 {
int b = V.a;
}
--
Summary: jc1 crash when compiling class with circular definitions
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: guilhem at kaffe dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13964