diff options
author | Mark Mitchell <mark@codesourcery.com> | 2000-03-05 20:46:18 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2000-03-05 20:46:18 +0000 |
commit | 971cbc146e4109dee3faaaf315513bf5f3a49963 (patch) | |
tree | 6d7e49043bdd0fb72e5fca632e820df584bec597 /gcc/cp/expr.c | |
parent | 9f93702662f417705f1fc306ffbd078fef8abe02 (diff) | |
download | gcc-971cbc146e4109dee3faaaf315513bf5f3a49963.zip gcc-971cbc146e4109dee3faaaf315513bf5f3a49963.tar.gz gcc-971cbc146e4109dee3faaaf315513bf5f3a49963.tar.bz2 |
expr.c (cplus_expand_expr, [...]): Use expand_start_stmt_expr and expand_end_stmt_expr directly.
* expr.c (cplus_expand_expr, case STMT_EXPR): Use
expand_start_stmt_expr and expand_end_stmt_expr directly. Set
RTL_EXPR_HAS_NO_SCOPE.
* pt.c (instantiate_decl): Clear TI_PENDING_TEMPLATE_FLAG a little
later.
* dump.c (dequeue_and_dump): Dump SCOPE_NO_CLEANUPS_P.
From-SVN: r32345
Diffstat (limited to 'gcc/cp/expr.c')
-rw-r--r-- | gcc/cp/expr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/cp/expr.c b/gcc/cp/expr.c index 05411e3..f835181 100644 --- a/gcc/cp/expr.c +++ b/gcc/cp/expr.c @@ -145,9 +145,10 @@ cplus_expand_expr (exp, target, tmode, modifier) case STMT_EXPR: { - tree rtl_expr = begin_stmt_expr (); + tree rtl_expr = expand_start_stmt_expr (); expand_stmt (STMT_EXPR_STMT (exp)); - finish_stmt_expr (rtl_expr); + expand_end_stmt_expr (rtl_expr); + RTL_EXPR_HAS_NO_SCOPE (rtl_expr) = 1; return expand_expr (rtl_expr, target, tmode, modifier); } break; |