+1999-04-29 Richard Henderson <rth@cygnus.com>
+
+ * decl2.c (do_static_initialization): Call do_pending_stack_adjust.
+ (do_static_destruction): Likewise.
+
1999-04-29 Nathan Sidwell <nathan@acm.org>
* cp-tree.h (TYPE_NOTHROW_P): New macro.
/* Cleanup any temporaries needed for the initial value. */
expand_end_target_temps ();
+ /* Cleanup any deferred pops from function calls. This would be done
+ by expand_end_cond, but we also need it when !sentry, since we are
+ constructing these sequences by parts. */
+ do_pending_stack_adjust ();
+
/* Close the conditional opened above. */
if (sentry)
expand_end_cond ();
/* Actually to the destruction. */
expand_expr_stmt (build_cleanup (decl));
+ /* Cleanup any deferred pops from function calls. This would be done
+ by expand_end_cond, but we also need it when !sentry, since we are
+ constructing these sequences by parts. */
+ do_pending_stack_adjust ();
+
/* Close the conditional opened above. */
if (sentry)
expand_end_cond ();