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/13508] New: ICE on legal code


The following code produces ICE:

cat > A.java <<EOF
public class A{
    public class B {
        public B() {
            assert false;
        }
    }
}
EOF
gcj -c A.java -classpath .

It seems to have something to do with the inner class, because this code works:
public class A{
    public A() {
            assert false;
    }
}


ICE happens in 3.4.0 20031224 and 3.3.3 20031222 and also in all other 3.3.x
releases.

-- 
           Summary: ICE on legal code
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P1
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rmerkert at alphatech dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: gcj (GCC) 3.4.0 20031224 (experimental)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13508


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