diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-26 23:49:17 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-26 23:49:17 +0000 |
commit | 2ce19011e366f99e9792dfd673e84de28ad5caef (patch) | |
tree | 71bac986b09f540f856661d7e559ba1374cfc816 /gcc/stmt.c | |
parent | 315b3a2c235b428ef04f5481a9bf872233309d0a (diff) | |
download | ppe42-gcc-2ce19011e366f99e9792dfd673e84de28ad5caef.tar.gz ppe42-gcc-2ce19011e366f99e9792dfd673e84de28ad5caef.zip |
* stmt.c (expand_start_case_dummy): Remove.
* tree.h: Remove the corresponding prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78534 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r-- | gcc/stmt.c | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c index c33cea27152..b3b1f1b5b6b 100644 --- a/gcc/stmt.c +++ b/gcc/stmt.c @@ -220,8 +220,7 @@ struct nesting GTY(()) conditional branch points. */ rtx last_unconditional_cleanup; } GTY ((tag ("BLOCK_NESTING"))) block; - /* For switch (C) or case (Pascal) statements, - and also for dummies (see `expand_start_case_dummy'). */ + /* For switch (C) or case (Pascal) statements. */ struct nesting_case { /* The insn after which the case dispatch should finally @@ -4443,32 +4442,6 @@ expand_start_case (int exit_flag, tree expr, tree type, start_cleanup_deferral (); } - -/* Start a "dummy case statement" within which case labels are invalid - and are not connected to any larger real case statement. - This can be used if you don't want to let a case statement jump - into the middle of certain kinds of constructs. */ - -void -expand_start_case_dummy (void) -{ - struct nesting *thiscase = ALLOC_NESTING (); - - /* Make an entry on case_stack for the dummy. */ - - thiscase->desc = CASE_NESTING; - thiscase->next = case_stack; - thiscase->all = nesting_stack; - thiscase->depth = ++nesting_depth; - thiscase->exit_label = 0; - thiscase->data.case_stmt.case_list = 0; - thiscase->data.case_stmt.start = 0; - thiscase->data.case_stmt.nominal_type = 0; - thiscase->data.case_stmt.default_label = 0; - case_stack = thiscase; - nesting_stack = thiscase; - start_cleanup_deferral (); -} static void check_seenlabel (void) |