decl2.c (do_static_destruction): Remove obsolete FIXME comment.
authorMark Mitchell <mark@codesourcery.com>
Thu, 29 Apr 1999 22:39:31 +0000 (22:39 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 29 Apr 1999 22:39:31 +0000 (22:39 +0000)
* decl2.c (do_static_destruction): Remove obsolete FIXME comment.
(finish_file): Indent comments properly.

From-SVN: r26703

gcc/cp/ChangeLog
gcc/cp/decl2.c

index 01e462742c3f02c3ff8f20bd47932e4526c3df3d..b8d95001c22889008d7dbaa675961a8987972302 100644 (file)
@@ -1,3 +1,8 @@
+1999-04-29  Mark Mitchell  <mark@codesourcery.com>
+
+       * decl2.c (do_static_destruction): Remove obsolete FIXME comment.
+       (finish_file): Indent comments properly.
+
 1999-04-29  Richard Henderson  <rth@cygnus.com>
 
        * decl2.c (do_static_initialization): Call do_pending_stack_adjust.
        (build_x_function_call): Use cp_error.
        (build_unary_op): Adjust call of build_component_addr.
        
+1999-04-28  Mark Mitchell  <mark@codesourcery.com>
+
+       * pt.c (tsubst_friend_class): Check for NULL.
+
 Wed Apr 28 11:42:22 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
 
        * search.c (binfo_for_vtable): Initialize bfvi.var.
index 7e96a92a4f289c1302ca16ee3c53ed7ba4e2dc08..68f4f134889b6dbee16885263b47b7a4d40b7ee8 100644 (file)
@@ -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,