From 7219fab5f2729f3e4a2e67f0dbaa30b8c3af4c18 Mon Sep 17 00:00:00 2001 From: ian Date: Mon, 25 Apr 2005 19:03:41 +0000 Subject: ./ * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98731 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/c-objc-common.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'gcc/c-objc-common.c') diff --git a/gcc/c-objc-common.c b/gcc/c-objc-common.c index 178f10fc2c6..0dc8f55ddfc 100644 --- a/gcc/c-objc-common.c +++ b/gcc/c-objc-common.c @@ -124,12 +124,6 @@ c_warn_unused_global_decl (tree decl) bool c_objc_common_init (void) { - static const enum tree_code stmt_codes[] = { - c_common_stmt_codes - }; - - INIT_STATEMENT_CODES (stmt_codes); - c_init_decl_processing (); if (c_common_init () == false) -- cgit v1.2.1