From b2123dc0d8b3c18313c9aae7bddf57af0b4a6bf7 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Wed, 17 Apr 2002 01:47:36 +0000 Subject: 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 --- gcc/tree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/tree.h') diff --git a/gcc/tree.h b/gcc/tree.h index d0646b8..f96d127 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -2700,7 +2700,7 @@ extern tree lhd_unsave_expr_now PARAMS ((tree)); extern int in_control_zone_p PARAMS ((void)); extern void expand_fixups PARAMS ((rtx)); -extern tree expand_start_stmt_expr PARAMS ((void)); +extern tree expand_start_stmt_expr PARAMS ((int)); extern tree expand_end_stmt_expr PARAMS ((tree)); extern void expand_expr_stmt PARAMS ((tree)); extern void expand_expr_stmt_value PARAMS ((tree, int, int)); -- cgit v1.1