aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2019-09-02 09:09:39 +0200
committerMartin Liska <marxin@gcc.gnu.org>2019-09-02 07:09:39 +0000
commit1acbaa7530d7ec1e38fe8f5f1c5313b0d12a4f97 (patch)
treefa7d92210c72bfdc809824d297f11c8b02974a7b /gcc/fold-const.c
parentae0d3f6a593058ab9fd56a34f604852ea2dec79b (diff)
downloadgcc-1acbaa7530d7ec1e38fe8f5f1c5313b0d12a4f97.zip
gcc-1acbaa7530d7ec1e38fe8f5f1c5313b0d12a4f97.tar.gz
gcc-1acbaa7530d7ec1e38fe8f5f1c5313b0d12a4f97.tar.bz2
Fix thinko in early bail out in tree-switch-conversion.
2019-09-02 Martin Liska <mliska@suse.cz> * tree-switch-conversion.c (jump_table_cluster::find_jump_tables): Bail out when we'll end up with the same number of clusters as at the beginning. (bit_test_cluster::find_bit_tests): Likewise for bit tests. (jump_table_cluster::can_be_handled): Remove the guard as it's already handled in ::is_enabled. Allocate output after early bail out. From-SVN: r275293
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions