From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14396 invoked by alias); 31 Aug 2005 16:24:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 14354 invoked by uid 48); 31 Aug 2005 16:23:56 -0000 Date: Wed, 31 Aug 2005 16:24:00 -0000 Message-ID: <20050831162356.14353.qmail@sourceware.org> From: "wmahan at gmail dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050829094413.23620.wmahan@gmail.com> References: <20050829094413.23620.wmahan@gmail.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug java/23620] [4.0/4.1 Regression] Segfault compiling inner interfaces X-Bugzilla-Reason: CC X-SW-Source: 2005-08/txt/msg03628.txt.bz2 List-Id: ------- Additional Comments From wmahan at gmail dot com 2005-08-31 16:23 ------- I guess that is a bug in my test case. I didn't notice because it compiles fine with gcc 4.0.1 when A.class and A$AInt.class are not present. The problem seems to be that when check_inner_circular_reference() is looking for circular references, it segfaults when it gets to the tree for A, which has ->type.binfo == NULL. I'm not sure if that's supposed to happen. Here's a patch that fixes the bug for me, but it may just fix the symptom rather than the real problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23620