summaryrefslogtreecommitdiff
path: root/gcc/cp/search.c
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>1996-12-18 01:44:21 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>1996-12-18 01:44:21 +0000
commit860740a7134dc94d7166534998e2121f413785f5 (patch)
tree6bf6bd88d6fea39998ce4671f792fa0f2090aad5 /gcc/cp/search.c
parentf14647fb381f6ba09824c380ed19c4353deef465 (diff)
downloadgcc-860740a7134dc94d7166534998e2121f413785f5.tar.gz
90th Cygnus<->FSF quick merge
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13319 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/search.c')
-rw-r--r--gcc/cp/search.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/cp/search.c b/gcc/cp/search.c
index f2b2a50a0ef..b503d7849c1 100644
--- a/gcc/cp/search.c
+++ b/gcc/cp/search.c
@@ -2543,8 +2543,11 @@ dfs_debug_mark (binfo)
return;
/* We can't do the TYPE_DECL_SUPPRESS_DEBUG thing with DWARF, which
- does not support name references between translation units. */
- if (write_symbols == DWARF_DEBUG)
+ does not support name references between translation units. Well, we
+ could, but that would mean putting global labels in the debug output
+ before each exported type and each of its functions and static data
+ members. */
+ if (write_symbols == DWARF_DEBUG || write_symbols == DWARF2_DEBUG)
{
rest_of_type_compilation (t, global_bindings_p ());
return;