From 0d4cab856aecf1e27b9bde0d30db740586572bec Mon Sep 17 00:00:00 2001 From: mmitchel Date: Thu, 29 Apr 1999 22:39:31 +0000 Subject: [PATCH] * decl2.c (do_static_destruction): Remove obsolete FIXME comment. (finish_file): Indent comments properly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26703 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cp/ChangeLog | 9 +++++++++ gcc/cp/decl2.c | 10 ++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 01e4627..b8d9500 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +1999-04-29 Mark Mitchell + + * decl2.c (do_static_destruction): Remove obsolete FIXME comment. + (finish_file): Indent comments properly. + 1999-04-29 Richard Henderson * decl2.c (do_static_initialization): Call do_pending_stack_adjust. @@ -21,6 +26,10 @@ (build_x_function_call): Use cp_error. (build_unary_op): Adjust call of build_component_addr. +1999-04-28 Mark Mitchell + + * pt.c (tsubst_friend_class): Check for NULL. + Wed Apr 28 11:42:22 1999 Andreas Schwab * search.c (binfo_for_vtable): Initialize bfvi.var. diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 7e96a92..68f4f13 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -3248,8 +3248,6 @@ do_static_destruction (decl, sentry, priority) rtx new_insns; priority_info pi; - /* FIXME: We need destructions to be run in reverse order! */ - /* If we don't need a destructor, there's nothing to do. */ if (!TYPE_NEEDS_DESTRUCTOR (TREE_TYPE (decl))) return; @@ -3525,13 +3523,13 @@ finish_file () { reconsider = 0; - /* If there are templates that we've put off instantiating, do - them now. */ + /* If there are templates that we've put off instantiating, do + them now. */ instantiate_pending_templates (); /* Write out signature-tables and virtual tables as required. - Note that writing out the virtual table for a template class - may cause the instantiation of members of that class. */ + Note that writing out the virtual table for a template class + may cause the instantiation of members of that class. */ if (flag_handle_signatures && walk_globals (sigtable_decl_p, finish_sigtable_vardecl, -- 2.7.4