Commit 1a6580ec by Mark Mitchell Committed by Mark Mitchell

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
parent 44310705
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> 1999-04-29 Richard Henderson <rth@cygnus.com>
* decl2.c (do_static_initialization): Call do_pending_stack_adjust. * decl2.c (do_static_initialization): Call do_pending_stack_adjust.
...@@ -21,6 +26,10 @@ ...@@ -21,6 +26,10 @@
(build_x_function_call): Use cp_error. (build_x_function_call): Use cp_error.
(build_unary_op): Adjust call of build_component_addr. (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> Wed Apr 28 11:42:22 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* search.c (binfo_for_vtable): Initialize bfvi.var. * search.c (binfo_for_vtable): Initialize bfvi.var.
......
...@@ -3248,8 +3248,6 @@ do_static_destruction (decl, sentry, priority) ...@@ -3248,8 +3248,6 @@ do_static_destruction (decl, sentry, priority)
rtx new_insns; rtx new_insns;
priority_info pi; 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 we don't need a destructor, there's nothing to do. */
if (!TYPE_NEEDS_DESTRUCTOR (TREE_TYPE (decl))) if (!TYPE_NEEDS_DESTRUCTOR (TREE_TYPE (decl)))
return; return;
...@@ -3525,13 +3523,13 @@ finish_file () ...@@ -3525,13 +3523,13 @@ finish_file ()
{ {
reconsider = 0; reconsider = 0;
/* If there are templates that we've put off instantiating, do /* If there are templates that we've put off instantiating, do
them now. */ them now. */
instantiate_pending_templates (); instantiate_pending_templates ();
/* Write out signature-tables and virtual tables as required. /* Write out signature-tables and virtual tables as required.
Note that writing out the virtual table for a template class Note that writing out the virtual table for a template class
may cause the instantiation of members of that class. */ may cause the instantiation of members of that class. */
if (flag_handle_signatures if (flag_handle_signatures
&& walk_globals (sigtable_decl_p, && walk_globals (sigtable_decl_p,
finish_sigtable_vardecl, finish_sigtable_vardecl,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment