diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-21 20:52:44 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-21 20:52:44 +0000 |
commit | 427d3c76bf451543bb5734df43e3dc6b703afc19 (patch) | |
tree | b346c633f75c76e38b841d3081fc309025372972 /fastjar | |
parent | cb440058716b6cb82798fe7c5f412774a19fd766 (diff) | |
download | gcc-427d3c76bf451543bb5734df43e3dc6b703afc19.tar.gz |
* stmt.c (same_case_target_p): New function to determine whether
two case labels branch to the same target. Split out from...
(group_case_nodes): ... here. Use same_case_target_p instead.
(strip_default_case_nodes): Remove explicit case nodes
that branch to the default destination.
(expand_end_case_type): Call strip_default_case_nodes after
group_case_nodes, to simplify the case-list before we count it.
Only generate table_label RTX when actually needed. Try to share
thiscase->exit_label and thiscase->data.case_stmt.default_label
when a switch has no explicit default case. Simplify test for
constant index.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61570 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'fastjar')
0 files changed, 0 insertions, 0 deletions