diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-16 20:51:46 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-16 20:51:46 +0000 |
commit | eaae3b7592d5ecb2b2d6def2f85573fe41bb71c5 (patch) | |
tree | 7b0b73a938871fa1fd05c489701fd9f585e29abb /gcc/c-common.def | |
parent | 226c2452e8d93ba717951c2a341671e05f2e0980 (diff) | |
download | gcc-eaae3b7592d5ecb2b2d6def2f85573fe41bb71c5.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83261 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.def')
-rw-r--r-- | gcc/c-common.def | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/c-common.def b/gcc/c-common.def index a78cfc16d3d..0c9b9f0a0b8 100644 --- a/gcc/c-common.def +++ b/gcc/c-common.def @@ -71,12 +71,6 @@ DEFTREECODE (CONTINUE_STMT, "continue_stmt", 'e', 0) SWITCH_COND, SWITCH_BODY and SWITCH_TYPE, respectively. */ DEFTREECODE (SWITCH_STMT, "switch_stmt", 'e', 3) -/* Used to represent a CASE_LABEL. The operands are CASE_LOW and - CASE_HIGH, respectively. If CASE_LOW is NULL_TREE, the label is a - 'default' label. If CASE_HIGH is NULL_TREE, the label is a normal case - label. The CASE_LABEL_DECL is a LABEL_DECL for this node. */ -DEFTREECODE (CASE_LABEL, "case_label", 'e', 3) - /* A STMT_EXPR represents a statement-expression. The STMT_EXPR_STMT is the statement given by the expression. */ DEFTREECODE (STMT_EXPR, "stmt_expr", 'e', 1) |