diff options
author | Mark Mitchell <mark@codesourcery.com> | 1999-11-07 22:21:30 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-11-07 22:21:30 +0000 |
commit | 8004841847ed40f95b693fcaf390a256b3224b5b (patch) | |
tree | 5169d7c628f1f5ce200375b0e83b397e601d764d /gcc/cp/except.c | |
parent | 1aecd750bbe6d98ff7fa31f2462a912215afeb04 (diff) | |
download | gcc-8004841847ed40f95b693fcaf390a256b3224b5b.zip gcc-8004841847ed40f95b693fcaf390a256b3224b5b.tar.gz gcc-8004841847ed40f95b693fcaf390a256b3224b5b.tar.bz2 |
cp-tree.h (begin_new_placement): Remove.
* cp-tree.h (begin_new_placement): Remove.
(finish_new_placement): Likewise.
* class.c (finish_struct_1): Don't suspend_momentary or
resume_momentary.
* decl.c (grokdeclarator): Likewise.
(maybe_build_cleanup_1): Likewise.
* except.c (push_eh_cleanup): Likewise.
(build_terminate_handler): Likewise.
* init.c (build_new_1): Likewise.
* parse.y (parse_decl): Change prototype.
(initdecls, notype_initdecls, initdcl): Don't return int.
(initdcl0, notype_initdcl0, initdcl0_innards): Likewise.
(.begin_new_placement): Remove.
(.finish_new_placement): Likewise.
(nonmomentary_expr): Likewise.
(suspend_mom): Likewise.
(condition): Don't suspend_momentary, resume_momentary, or keep
track of need to resume.
(unary_expr): Likewise.
(new_placement): Likewise.
(decl): Likewise.
(structsp): Likewise.
(new_type_id): Likewise.
(maybe_parmlist): Likewise.
(direct_after_type_declaration): Likewise.
(direct_new_declarator): Likewise.
(direct_abstract_declaration): Likewise.
* parse.c: Regenerated.
* pt.c (tsubst_expr): Don't suspend_momentary or resume_momentary.
* semantics.c (begin_new_placement): Remove.
(finish_new_placement): Likewise.
From-SVN: r30443
Diffstat (limited to 'gcc/cp/except.c')
-rw-r--r-- | gcc/cp/except.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gcc/cp/except.c b/gcc/cp/except.c index 72644e6..d2ffbfe 100644 --- a/gcc/cp/except.c +++ b/gcc/cp/except.c @@ -440,12 +440,7 @@ do_pop_exception () static void push_eh_cleanup () { - int yes; - - yes = suspend_momentary (); - /* All cleanups must last longer than normal. */ finish_decl_cleanup (NULL_TREE, do_pop_exception ()); - resume_momentary (yes); } /* Build up a call to terminate on the function obstack, for use as an @@ -454,10 +449,7 @@ push_eh_cleanup () static tree build_terminate_handler () { - int yes = suspend_momentary (); - tree term = build_function_call (terminate_node, NULL_TREE); - resume_momentary (yes); - return term; + return build_function_call (terminate_node, NULL_TREE); } /* Initialize the catch parameter DECL. */ |