OSDN Git Service

* search.c (note_debug_info_needed): Walk the bases even if we
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Mar 2000 00:22:21 +0000 (00:22 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Mar 2000 00:22:21 +0000 (00:22 +0000)
        weren't deferring the type itself.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32395 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/search.c

index bf8dd2a..5d7d48e 100644 (file)
@@ -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*.
index 9f8f5de..dfded73 100644 (file)
@@ -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);
 }