This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/13508] New: ICE on legal code
- From: "rmerkert at alphatech dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Dec 2003 23:58:45 -0000
- Subject: [Bug java/13508] New: ICE on legal code
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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