From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12047 invoked by alias); 29 Aug 2005 09:44:16 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 12028 invoked by uid 48); 29 Aug 2005 09:44:15 -0000 Date: Mon, 29 Aug 2005 09:44:00 -0000 From: "wmahan at gmail dot com" To: java-prs@gcc.gnu.org Message-ID: <20050829094413.23620.wmahan@gmail.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug java/23620] New: Segfault compiling inner interfaces X-Bugzilla-Reason: CC X-SW-Source: 2005-q3/txt/msg00448.txt.bz2 List-Id: I'm getting an ICE with gcc 4.0.1 that I've reduced to the following test case with three classes, in A.java, B.java, and C.java, respectively: public class A { public interface AInt { void methA(); } } public class B implements A.AInt { void methA() { } public interface BInt { void methB(); } } public class C implements B.BInt { void methB() { } } $ gcj -C A.java $ gcj -C B.java $ gcj -C C.java C.java:0: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. For Debian GNU/Linux specific bug reporting instructions, see . However, doing $ gcj -C A.java B.java C.java gives no error. Sorry if this is already known, but I couldn't find a similar bug already reported. $ gcc-4.0 -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --enable-nls --without-included-gettext --enable-threads=posix --program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.0.1 (Debian 4.0.1-2) -- Summary: Segfault compiling inner interfaces Product: gcc Version: 4.0.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: wmahan at gmail dot com CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23620