* dwarf2out.c (dwarf2out_finish): Set parent to comp_unit_die
for nested functions whose proper parent has not been output.
From-SVN: r88116
2004-09-26 Jan Hubicka <jh@suse.cz>
+ * dwarf2out.c (dwarf2out_finish): Set parent to comp_unit_die
+ for nested functions whose proper parent has not been output.
+
* profile.c (compute_branch_probabilities): Use REG_BR_PROB notes
when re-constructing profile previously invalidated by loop.
origin = lookup_decl_die (context);
if (origin)
add_child_die (origin, die);
+ else
+ add_child_die (comp_unit_die, die);
}
}
}