aboutsummaryrefslogtreecommitdiff
path: root/fastjar
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2003-01-21 20:52:44 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2003-01-21 20:52:44 +0000
commit100e3acbe2886e01c8afc80a650045f289700776 (patch)
treeb346c633f75c76e38b841d3081fc309025372972 /fastjar
parented695c8e6c3371ba166afb48b7b69a1083bcb1e8 (diff)
downloadgcc-100e3acbe2886e01c8afc80a650045f289700776.zip
gcc-100e3acbe2886e01c8afc80a650045f289700776.tar.gz
gcc-100e3acbe2886e01c8afc80a650045f289700776.tar.bz2
stmt.c (same_case_target_p): New function to determine whether two case labels branch to the same target.
* 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. From-SVN: r61570
Diffstat (limited to 'fastjar')
0 files changed, 0 insertions, 0 deletions