aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/search.c10
2 files changed, 10 insertions, 5 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index bf8dd2a..5d7d48e 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+2000-03-07 Jason Merrill <jason@casey.cygnus.com>
+
+ * search.c (note_debug_info_needed): Walk the bases even if we
+ weren't deferring the type itself.
+
2000-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* decl2.c (finish_objects): Constify a char*.
diff --git a/gcc/cp/search.c b/gcc/cp/search.c
index 9f8f5de..dfded73 100644
--- a/gcc/cp/search.c
+++ b/gcc/cp/search.c
@@ -3259,11 +3259,11 @@ void
note_debug_info_needed (type)
tree type;
{
- if (! TYPE_DECL_SUPPRESS_DEBUG (TYPE_NAME (type)))
- return;
-
- TYPE_DECL_SUPPRESS_DEBUG (TYPE_NAME (type)) = 0;
- rest_of_type_compilation (type, toplevel_bindings_p ());
+ if (TYPE_DECL_SUPPRESS_DEBUG (TYPE_NAME (type)))
+ {
+ TYPE_DECL_SUPPRESS_DEBUG (TYPE_NAME (type)) = 0;
+ rest_of_type_compilation (type, toplevel_bindings_p ());
+ }
dfs_walk (TYPE_BINFO (type), dfs_debug_mark, dfs_debug_unmarkedp, 0);
}