dwarf2out.c (dwarf2out_finish): Set parent to comp_unit_die for nested functions whose proper parent has not...

* dwarf2out.c (dwarf2out_finish): Set parent to comp_unit_die
	for nested functions whose proper parent has not been output.

From-SVN: r88116
This commit is contained in:
Jan Hubicka 2004-09-26 01:32:32 +02:00 committed by Jan Hubicka
parent 5db0241f0c
commit 1168d30f48
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,8 @@
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.

View File

@ -13574,6 +13574,8 @@ dwarf2out_finish (const char *filename)
origin = lookup_decl_die (context);
if (origin)
add_child_die (origin, die);
else
add_child_die (comp_unit_die, die);
}
}
}