This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/17779] ICE: Seg fault
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 1 Oct 2004 17:58:32 -0000
- Subject: [Bug java/17779] ICE: Seg fault
- References: <20041001163537.17779.ericw@evcohs.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From tromey at gcc dot gnu dot org 2004-10-01 17:58 -------
I looked into this a little.
The bug is that we never call push_super_field() for the class
in question. In layout_class, push_super_field can be called,
but we fail this test and skip the call:
if (super_class && !CLASS_BEING_LAIDOUT (super_class))
In our case, CLASS_BEING_LAIDOUT (super_class) is true.
layout_class is only called once for the class in question,
so we never get another chance to call push_super_field.
Later we die because TYPE_FIELDS is NULL_TREE.
Offhand I'm not sure what to do.
Andrew has been working in this area lately, perhaps he
has an idea. I will ping him.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17779