This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/23620] [4.0/4.1 Regression] Segfault compiling inner interfaces
- From: "wmahan at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 31 Aug 2005 16:23:57 -0000
- Subject: [Bug java/23620] [4.0/4.1 Regression] Segfault compiling inner interfaces
- References: <20050829094413.23620.wmahan@gmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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