Group switch cases in switch lowering (PR tree-optimization/87205).
authorMartin Liska <mliska@suse.cz>
Wed, 5 Sep 2018 11:28:49 +0000 (13:28 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 5 Sep 2018 11:28:49 +0000 (11:28 +0000)
commite6c5d9f0f586b303a4d292b42e1e8d705651f86c
tree1b7c60da9489ea13350cf717f48e317704be88d9
parent85004cb2dcc43010001d6231cf6aca6eb769d2c3
Group switch cases in switch lowering (PR tree-optimization/87205).

2018-09-05  Martin Liska  <mliska@suse.cz>

PR tree-optimization/87205
* tree-switch-conversion.c (pass_lower_switch::execute):
Group cases for switch statements.
2018-09-05  Martin Liska  <mliska@suse.cz>

PR tree-optimization/87205
* gcc.dg/tree-ssa/pr87205-2.c: New test.
* gcc.dg/tree-ssa/pr87205.c: New test.

From-SVN: r264124
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr87205-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr87205.c [new file with mode: 0644]
gcc/tree-switch-conversion.c