diff options
author | Jason Merrill <jason@casey.cygnus.com> | 2000-03-08 00:22:21 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2000-03-07 19:22:21 -0500 |
commit | 15f1a7952b44f09f409cbe01d57af82e8d9ffcf6 (patch) | |
tree | 762fa04937ed9f1e3c1077f567dc48ee3b3be197 /gcc | |
parent | e23c0ba36fe2be2c8bd601828b9acd16e7ec20cb (diff) | |
download | gcc-15f1a7952b44f09f409cbe01d57af82e8d9ffcf6.zip gcc-15f1a7952b44f09f409cbe01d57af82e8d9ffcf6.tar.gz gcc-15f1a7952b44f09f409cbe01d57af82e8d9ffcf6.tar.bz2 |
search.c (note_debug_info_needed): Walk the bases even if we weren't deferring the type itself.
* search.c (note_debug_info_needed): Walk the bases even if we
weren't deferring the type itself.
From-SVN: r32395
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/search.c | 10 |
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); } |