This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/12890] New: ICE on compilation of class with throwing method
- From: "gcc-bug at vogtner dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Nov 2003 20:17:05 -0000
- Subject: [Bug java/12890] New: ICE on compilation of class with throwing method
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12890
Summary: ICE on compilation of class with throwing method
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gcc-bug at vogtner dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
to reproduce:
(1) put files M.java and E.java in cwd
(2) execute gcj M.java
I get:
M.java:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Error show up with GCC 3.3, does not show up with GCC 3.2.2
==> M.java START <==
import E;
public class M {
void fun (M q) throws E
{
}
};
==> M.java END <==
==> E.java START <==
public class E extends Throwable {
}
==> E.java END <==