This is the mail archive of the
mailing list for the GCC project.
Re: dwarf2out change breaks ada
On Wed, 28 Jan 2004 11:53:18 -0800, Devang Patel <email@example.com> wrote:
> Now, we do not record field_decl die with its id in decl_die_table, so even
> though 'member' on line #11374 has one associate die, lookup_decl_die()
> not find it. Now, in my patch I added one line to equate field_decl number
> with its die and that causes lookup_decl_die() at line#11374 to succeed.
> But the die found is not in expected form and following check in
> splice_child_die() causes abort.
> 5158 if (child->die_parent != parent
> 5159 && child->die_parent != get_AT_ref (parent,
> 5160 abort ();
This code is checking that the child has an appropriate context. If it
doesn't, something's broken; removing the association is probably just
papering over the problem. What is the die_parent when we hit the abort?
Please check in your patch as a temporary measure to fix bootstrap, but
then work on a permanent fix.