This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/13964] New: jc1 crash when compiling class with circular definitions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]