summaryrefslogtreecommitdiff
path: root/gcc/c-dump.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-16 20:51:46 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-16 20:51:46 +0000
commiteaae3b7592d5ecb2b2d6def2f85573fe41bb71c5 (patch)
tree7b0b73a938871fa1fd05c489701fd9f585e29abb /gcc/c-dump.c
parent226c2452e8d93ba717951c2a341671e05f2e0980 (diff)
downloadgcc-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-dump.c')
-rw-r--r--gcc/c-dump.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/c-dump.c b/gcc/c-dump.c
index db03dfb566b..9e8280774c2 100644
--- a/gcc/c-dump.c
+++ b/gcc/c-dump.c
@@ -69,14 +69,6 @@ c_dump_tree (void *dump_info, tree t)
dump_next_stmt (di, t);
break;
- case CASE_LABEL:
- /* Note that a case label is not like other statements; there is
- no way to get the line-number of a case label. */
- dump_child ("low", CASE_LOW (t));
- dump_child ("high", CASE_HIGH (t));
- dump_next_stmt (di, t);
- break;
-
case CLEANUP_STMT:
dump_stmt (di, t);
dump_child ("decl", CLEANUP_DECL (t));