This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/17779] ICE: Seg fault


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]