diff options
author | Jan Hubicka <jh@suse.cz> | 2004-09-26 01:32:32 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2004-09-25 23:32:32 +0000 |
commit | 1168d30f48e716b623005277a5f336e4a43ae84e (patch) | |
tree | 77d5417cd36576ef9bce5bd19a33744ec0efc8b6 /gcc/dwarf2out.c | |
parent | 5db0241f0c3d3130a502d9c6a59713302a1377bf (diff) | |
download | gcc-1168d30f48e716b623005277a5f336e4a43ae84e.zip gcc-1168d30f48e716b623005277a5f336e4a43ae84e.tar.gz gcc-1168d30f48e716b623005277a5f336e4a43ae84e.tar.bz2 |
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
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 8ec62fe..3992c83 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -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); } } } |