This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
C++ PATCH for out-of-date and badly formatted comments
- To: egcs-patches at egcs dot cygnus dot com
- Subject: C++ PATCH for out-of-date and badly formatted comments
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Thu, 29 Apr 1999 22:43:26 -0700
- Reply-to: mark at codesourcery dot com
This patch removes a FIXME I put in my local tree while working on
some things, as a reminder to myself, and forgot to pull out after
fixing the thing indicated in the FIXME.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
1999-04-29 Mark Mitchell <mark@codesourcery.com>
* decl2.c (do_static_destruction): Remove obsolete FIXME comment.
(finish_file): Indent comments properly.
Index: decl2.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/cp/decl2.c,v
retrieving revision 1.210
diff -u -p -r1.210 decl2.c
--- decl2.c 1999/04/29 17:43:16 1.210
+++ decl2.c 1999/04/30 05:36:54
@@ -3248,8 +3248,6 @@ do_static_destruction (decl, sentry, pri
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,