diff options
author | Martin Liska <mliska@suse.cz> | 2019-09-02 09:09:39 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2019-09-02 07:09:39 +0000 |
commit | 1acbaa7530d7ec1e38fe8f5f1c5313b0d12a4f97 (patch) | |
tree | fa7d92210c72bfdc809824d297f11c8b02974a7b /gcc/fold-const.c | |
parent | ae0d3f6a593058ab9fd56a34f604852ea2dec79b (diff) | |
download | gcc-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