From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14389 invoked by alias); 31 Aug 2005 16:24:01 -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 14359 invoked by uid 48); 31 Aug 2005 16:23:57 -0000 Date: Wed, 31 Aug 2005 16:24:00 -0000 Message-ID: <20050831162357.14358.qmail@sourceware.org> From: "wmahan at gmail dot com" To: java-prs@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-q3/txt/msg00459.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