]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
search.c (note_debug_info_needed): Walk the bases even if we weren't deferring the...
authorJason Merrill <jason@casey.cygnus.com>
Wed, 8 Mar 2000 00:22:21 +0000 (00:22 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 8 Mar 2000 00:22:21 +0000 (19:22 -0500)
        * search.c (note_debug_info_needed): Walk the bases even if we
        weren't deferring the type itself.

From-SVN: r32395

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

index bf8dd2aa16af8640ef77b25e7f45c7dbc56da441..5d7d48ea4a21f09eca6c485416440d0777ec89ab 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 9f8f5de3062243940748daa85d2fea722b12cb53..dfded73c4f63b28df5ab11e225a9640695e78433 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);
 }