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-gimplify.c | |
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-gimplify.c')
-rw-r--r-- | gcc/c-gimplify.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/c-gimplify.c b/gcc/c-gimplify.c index 3b84cd981de..2e9b4b92b64 100644 --- a/gcc/c-gimplify.c +++ b/gcc/c-gimplify.c @@ -264,15 +264,6 @@ c_gimplify_stmt (tree *stmt_p) ret = gimplify_decl_stmt (&stmt); break; - case CASE_LABEL: - { - tree label = create_artificial_label (); - stmt = build (CASE_LABEL_EXPR, void_type_node, - CASE_LOW (stmt), CASE_HIGH (stmt), label); - ret = GS_OK; - } - break; - case CONTINUE_STMT: stmt = build_bc_goto (bc_continue); ret = GS_OK; |