This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/22128] New: Cyclic inheritance hangs jc1
- From: "mckinlay at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 20 Jun 2005 19:56:45 -0000
- Subject: [Bug java/22128] New: Cyclic inheritance hangs jc1
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following test case causes gcj to hang:
public class Cyclic extends Cyclic
{
class C
{
class D extends C {}
}
}
The circularity error at the top level is correctly issued, however we later get
stuck in inherits_from_p when checking circularity for the inner classes.
--
Summary: Cyclic inheritance hangs jc1
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mckinlay at redhat dot com
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=22128