c-common.h (STMT_EXPR_NO_SCOPE): New macro.
authorMark Mitchell <mark@codesourcery.com>
Wed, 17 Apr 2002 01:47:36 +0000 (01:47 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 17 Apr 2002 01:47:36 +0000 (01:47 +0000)
commitb2123dc0d8b3c18313c9aae7bddf57af0b4a6bf7
tree945ba924fcaf4c9312b124d4f9724e8c510bc166
parentf0871dfe8ff3366c0404f151a722fc5de3f614c7
c-common.h (STMT_EXPR_NO_SCOPE): New macro.

* c-common.h (STMT_EXPR_NO_SCOPE): New macro.
* c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE.
* tree.h (expand_start_stmt_expr): Update prototype.
* stmt.c (expand_start_stmt_expr): Add has_scope parameter.
* tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE
on the STMT_EXPR created for the inline function.

* trans.c (tree_transform): Add has_scope argument to
expand_start_stmt_expr.

* com.c (ffecom_expr_power_integer): Add has_scope argument to
call to expand_start_stmt_expr.

* init.c (begin_init_stmts): Remove commented out code.
(finish_init_stmts): Set STMT_EXPR_NO_SCOPE.
* semantics.c (begin_gobal_stmt_expr): Adjust call to
expand_start_stmt_expr.

From-SVN: r52395
13 files changed:
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/trans.c
gcc/c-common.c
gcc/c-common.h
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/cp/semantics.c
gcc/f/ChangeLog
gcc/f/com.c
gcc/stmt.c
gcc/tree-inline.c
gcc/tree.h