aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@codesourcery.com>2006-08-02 13:31:56 +0000
committerDaniel Jacobowitz <drow@gcc.gnu.org>2006-08-02 13:31:56 +0000
commit19450f2b21f7f5ecaae61060aa45fbf9ee138afe (patch)
treefaffa7a53a9cc044d98d8fdf1c8b65a3e9383ee1 /gcc/dwarf2out.c
parent0a4fe58f40b2ec68762d965ec148100e353ee562 (diff)
downloadgcc-19450f2b21f7f5ecaae61060aa45fbf9ee138afe.zip
gcc-19450f2b21f7f5ecaae61060aa45fbf9ee138afe.tar.gz
gcc-19450f2b21f7f5ecaae61060aa45fbf9ee138afe.tar.bz2
re PR debug/28063 (Dwarf no longer uses merged strings for DW_AT_comp_dir)
gcc/ PR debug/28063 * dwarf2out.c (prune_unused_types_prune): Move call to prune_unused_types_update_strings to cover the parent DIE also. gcc/testuite/ PR debug/28063 * gcc.dg/debug/dwarf2/dwarf-merge.c: New test. * lib/target-supports.exp (get_compiler_messages): Add WANT_OUTPUT. Optionally return assembly text. Update callers. (check_no_compiler_messages): Update verbose messages. (check_no_messages_and_pattern): New. (check_effective_target_string_merging): New. From-SVN: r115874
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 41aa5ac..acec886 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -14044,6 +14044,7 @@ prune_unused_types_prune (dw_die_ref die)
dw_die_ref c;
gcc_assert (die->die_mark);
+ prune_unused_types_update_strings (die);
if (! die->die_child)
return;
@@ -14068,7 +14069,6 @@ prune_unused_types_prune (dw_die_ref die)
if (c != prev->die_sib)
prev->die_sib = c;
- prune_unused_types_update_strings (c);
prune_unused_types_prune (c);
} while (c != die->die_child);
}