aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.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/tree.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/tree.h')
-rw-r--r--gcc/tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index aa1511f..b438997 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -1066,7 +1066,7 @@ struct tree_vec GTY(())
#define SWITCH_BODY(NODE) TREE_OPERAND ((NODE), 1)
#define SWITCH_LABELS(NODE) TREE_OPERAND ((NODE), 2)
-/* CASE_LABEL accessors. These give access to the high and low values
+/* CASE_LABEL_EXPR accessors. These give access to the high and low values
of a case label, respectively. */
#define CASE_LOW(NODE) TREE_OPERAND ((NODE), 0)
#define CASE_HIGH(NODE) TREE_OPERAND ((NODE), 1)