aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-04-29 22:39:31 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-04-29 22:39:31 +0000
commit1a6580ec80d9c0dba5970a7541162faffb48a613 (patch)
tree7f231eeae8c8fdb2cca592278c69b3079851aeea /gcc
parent44310705102007b1909cb0ee1159533c412401f3 (diff)
downloadgcc-1a6580ec80d9c0dba5970a7541162faffb48a613.zip
gcc-1a6580ec80d9c0dba5970a7541162faffb48a613.tar.gz
gcc-1a6580ec80d9c0dba5970a7541162faffb48a613.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog9
-rw-r--r--gcc/cp/decl2.c10
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 <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.
@@ -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 <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.
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,