[Bug java/17779] ICE: Seg fault
tromey at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Oct 1 17:58:00 GMT 2004
------- 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
More information about the Java-prs
mailing list