diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-16 18:21:20 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-16 18:21:20 +0000 |
commit | daf6dff5ac4c34fd82b7f72f6f40de906e8cdb24 (patch) | |
tree | e52131b3bd23ac10dfbc97741cf058791e88679f /gcc/c-dump.c | |
parent | f3fbd62def4f74f293a6e3a76a04e25cab10de4c (diff) | |
download | gcc-daf6dff5ac4c34fd82b7f72f6f40de906e8cdb24.tar.gz |
* c-common.def (GOTO_STMT, LABEL_STMT): Remove.
* c-common.c (c_add_case_label): Use LABEL_EXPR.
* c-common.h (GOTO_FAKE_P, LABEL_STMT_LABEL): Remove.
(c_common_stmt_codes): Remove GOTO_STMT, LABEL_STMT.
* c-dump.c (c_dump_tree): Likewise.
* c-gimplify.c (c_gimplify_stmt): Likewise.
* c-pretty-print.c (pp_c_statement): Likewise.
* c-parse.in (stmt): Use GOTO_EXPR.
(label): Use LABEL_EXPR.
* c-semantics.c (build_stmt): Set TREE_TYPE to void.
* tree-inline.c (copy_body_r): Don't build empty BLOCKs.
cp/
* decl.c (finish_destructor_body): Use LABEL_EXPR.
* parser.c (cp_parser_statement): Update commentary.
* pt.c (tsubst_expr): Use LABEL_EXPR, GOTO_EXPR.
* semantics.c (finish_goto_stmt, finish_label_stmt): Likewise.
* tree.c (mark_local_for_remap_r): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83255 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-dump.c')
-rw-r--r-- | gcc/c-dump.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/c-dump.c b/gcc/c-dump.c index 3d2004eb04c..b0790efa209 100644 --- a/gcc/c-dump.c +++ b/gcc/c-dump.c @@ -129,12 +129,6 @@ c_dump_tree (void *dump_info, tree t) dump_next_stmt (di, t); break; - case GOTO_STMT: - dump_stmt (di, t); - dump_child ("dest", GOTO_DESTINATION (t)); - dump_next_stmt (di, t); - break; - case IF_STMT: dump_stmt (di, t); dump_child ("cond", IF_COND (t)); @@ -143,12 +137,6 @@ c_dump_tree (void *dump_info, tree t) dump_next_stmt (di, t); break; - case LABEL_STMT: - dump_stmt (di, t); - dump_child ("labl", LABEL_STMT_LABEL (t)); - dump_next_stmt (di, t); - break; - case RETURN_STMT: dump_stmt (di, t); dump_child ("expr", RETURN_STMT_EXPR (t)); |