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 <==
Created attachment 5048 [details] M.java
Created attachment 5049 [details] E.java
Confirmed; it is also in 3.3.2 on i686-pc-linux-gnu.
Subject: Bug 12890 CVSROOT: /cvs/gcc Module name: gcc Changes by: aph@gcc.gnu.org 2003-11-12 15:24:42 Modified files: gcc/java : ChangeLog lang.c parse.y Log message: 2003-11-12 Andrew Haley <aph@redhat.com> PR java/11533 * lang.c (merge_init_test_initialization): Clear DECL_INITIAL for init_test_decls being inlined. PR java/12890: * parse.y (do_resolve_class): Check return value from breakdown_qualified(). Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&r1=1.1287&r2=1.1288 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/lang.c.diff?cvsroot=gcc&r1=1.145&r2=1.146 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/parse.y.diff?cvsroot=gcc&r1=1.453&r2=1.454
Comments? Pah!
just checked 3.3.3: Got the same error.
Yeah, looks like Andrew didn't check his fix in on the branch...
Subject: Bug 12890 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-3_3-branch Changes by: aph@gcc.gnu.org 2004-02-26 11:13:58 Modified files: gcc/java : ChangeLog parse.y Log message: 2004-02-26 Andrew Haley <aph@redhat.com> PR java/12890: * parse.y (do_resolve_class): Check return value from breakdown_qualified(). Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.1093.2.46&r2=1.1093.2.47 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/parse.y.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.405.2.10&r2=1.405.2.11
Subject: [3.3 Regression] ICE on compilation of class with throwing method dhazeghi at yahoo dot com writes: > > ------- Additional Comments From dhazeghi at yahoo dot com 2004-02-26 06:37 ------- > Yeah, looks like Andrew didn't check his fix in on the branch... Sorry about that. Andrew.
.