aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-06-16 13:51:46 -0700
committerRichard Henderson <rth@gcc.gnu.org>2004-06-16 13:51:46 -0700
commit8c16199578ee7b0bcc94a807373569055678d042 (patch)
tree7b0b73a938871fa1fd05c489701fd9f585e29abb /gcc/c-common.h
parente130a54b78b1f9b096a5ab1b98debfb263e16663 (diff)
downloadgcc-8c16199578ee7b0bcc94a807373569055678d042.zip
gcc-8c16199578ee7b0bcc94a807373569055678d042.tar.gz
gcc-8c16199578ee7b0bcc94a807373569055678d042.tar.bz2
c-common.def (CASE_LABEL): Remove.
* c-common.def (CASE_LABEL): Remove. * c-common.c (c_add_case_label): Use CASE_LABEL, not CASE_LABEL_DECL. (match_case_to_enum_1): Likewise. * c-common.h (c_common_stmt_codes): Remove CASE_LABEL. * c-dump.c (c_dump_tree): Likewise. * c-gimplify.c (c_gimplify_stmt): Likewise. * c-pretty-print.c (pp_c_statement): Likewise. * c-semantics.c (build_case_label): Use CASE_LABEL_EXPR. * tree.h (CASE_LOW): Update commentary. cp/ * parser.c (cp_parser_labeled_statement): Update commentary. * pt.c (tsubst_expr): Use CASE_LABEL_EXPR. * tree.c (mark_local_for_remap_r): Likewise. From-SVN: r83261
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r--gcc/c-common.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h
index 6dbb516..740825c 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -958,7 +958,6 @@ extern void finish_file (void);
#define FOR_BODY(NODE) TREE_OPERAND (FOR_STMT_CHECK (NODE), 3)
#define SWITCH_TYPE(NODE) TREE_OPERAND (SWITCH_STMT_CHECK (NODE), 2)
-#define CASE_LABEL_DECL(NODE) TREE_OPERAND (CASE_LABEL_CHECK (NODE), 2)
/* COMPOUND_STMT accessor. This gives access to the TREE_LIST of
statements associated with a compound statement. The result is the
@@ -1007,8 +1006,7 @@ enum c_tree_code {
CLEANUP_STMT, EXPR_STMT, COMPOUND_STMT, \
DECL_STMT, IF_STMT, FOR_STMT, \
WHILE_STMT, DO_STMT, RETURN_STMT, \
- BREAK_STMT, CONTINUE_STMT, \
- SWITCH_STMT, CASE_LABEL
+ BREAK_STMT, CONTINUE_STMT, SWITCH_STMT
/* TRUE if a code represents a statement. The front end init
langhook should take care of initialization of this array. */