[Bug java/23620] [4.0/4.1 Regression] Segfault compiling inner interfaces
wmahan at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Aug 31 16:24:00 GMT 2005
------- 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
More information about the Java-prs
mailing list