From: Mark Mitchell Date: Thu, 29 Apr 1999 22:39:31 +0000 (+0000) Subject: decl2.c (do_static_destruction): Remove obsolete FIXME comment. X-Git-Tag: prereleases/gcc-2.95-test~697 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a6580ec80d9c0dba5970a7541162faffb48a613;p=thirdparty%2Fgcc.git decl2.c (do_static_destruction): Remove obsolete FIXME comment. * decl2.c (do_static_destruction): Remove obsolete FIXME comment. (finish_file): Indent comments properly. From-SVN: r26703 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 01e462742c3f..b8d95001c228 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 7e96a92a4f28..68f4f134889b 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,