Re: [PATCH] Fix bit-test expansion for single cluster (PR tree-optimization/86263).

2018-06-29 Thread Richard Biener
On Thu, Jun 28, 2018 at 9:06 PM Martin Liška wrote: > > Hi. > > I'm sending patch for situation where we create a bit-test for > entire switch. In that case split BB must be redirected so that > the original switch is a dead code. > > Patch can bootstrap on ppc64le-redhat-linux and survives regres

[PATCH] Fix bit-test expansion for single cluster (PR tree-optimization/86263).

2018-06-28 Thread Martin Liška
Hi. I'm sending patch for situation where we create a bit-test for entire switch. In that case split BB must be redirected so that the original switch is a dead code. Patch can bootstrap on ppc64le-redhat-linux and survives regression tests. Ready to be installed? Martin gcc/ChangeLog: 2018-06