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

Reply via email to