]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/cp-tree.def
c-common.def (EXPR_STMT): Remove, moved to C++ frontend.
authorIan Lance Taylor <ian@airs.com>
Mon, 25 Apr 2005 19:03:41 +0000 (19:03 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 25 Apr 2005 19:03:41 +0000 (19:03 +0000)
commit934790cc6719ae6f0d6a7f408cedba1acab9f93d
tree04c6f7b2baf3f9d03ae1167e9d3db012d53a4e00
parenteca5a6a939732c946f3ade566ae1dd4f3def37c3
c-common.def (EXPR_STMT): Remove, moved to C++ frontend.

./ * c-common.def (EXPR_STMT): Remove, moved to C++ frontend.
* c-common.h (EXPR_STMT_EXPR): Don't define.
(c_common_stmt_codes): Don't define.
* c-dump.c (c_dump_tree): Remove EXPR_STMT case.
* c-gimplify.c (gimplify_expr_stmt): Remove.
(c_gimplify_expr): Remove EXPR_STMT case.
* c-objc-common.c (c_objc_common_init): Remove stmt_codes and call
to INIT_STATEMENT_CODES.
* c-pretty-print.c (pp_c_statement): Just call dump_generic_node.
cp/
* cp-tree.def: Add EXPR_STMT.
* cp-tree.h (cp_stmt_codes): Add EXPR_STMT.
(EXPR_STMT_EXPR): Define.
* cp-gimplify.c: Include "flags.h".
(gimplify_expr_stmt): New static function.
(cp_gimplify_expr): Handle EXPR_STMT.
* cxx-pretty-print.c (pp_cxx_statement): Use pp_cxx_expression
rather than pp_expression.
(pp_cxx_statement): Handle EXPR_STMT.
* dump.c (cp_dump_tree): Handle EXPR_STMT.
* lex.c (cxx_init): Don't use c_common_stmt_codes in stmt_codes
initializer.

From-SVN: r98731
14 files changed:
gcc/ChangeLog
gcc/c-common.def
gcc/c-common.h
gcc/c-dump.c
gcc/c-gimplify.c
gcc/c-objc-common.c
gcc/c-pretty-print.c
gcc/cp/ChangeLog
gcc/cp/cp-gimplify.c
gcc/cp/cp-tree.def
gcc/cp/cp-tree.h
gcc/cp/cxx-pretty-print.c
gcc/cp/dump.c
gcc/cp/lex.c