Fix bit-test expansion for single cluster (PR tree-optimization/86263).
authorMartin Liska <mliska@suse.cz>
Fri, 29 Jun 2018 10:57:00 +0000 (12:57 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 29 Jun 2018 10:57:00 +0000 (10:57 +0000)
commit3f10efd4ee4d62d2d7a94e518a3873687399879e
tree61c798469db4638c2770f79b11eedd8bed4a2847
parent6475e077a091ea57b7442ed35feaf031728bdeb2
Fix bit-test expansion for single cluster (PR tree-optimization/86263).

2018-06-29  Martin Liska  <mliska@suse.cz>

        PR tree-optimization/86263
* tree-switch-conversion.c (switch_decision_tree::try_switch_expansion):
        Make edge redirection.
2018-06-29  Martin Liska  <mliska@suse.cz>

        PR tree-optimization/86263
* gcc.dg/tree-ssa/pr86263.c: New test.

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