On Tue, Apr 19, 2016 at 01:03:51PM +0200, Richard Biener wrote: > I am testing the following to fix PR70726. > > Bootstrap and regtest running on x86_64-unknown-linux-gnu. > > Richard. > > 2016-04-19 Richard Biener <[email protected]> > > PR tree-optimization/70726 > * tree-vect-stmts.c (vectorizable_shift): Do not use scalar > shift amounts from a pattern stmt operand. > > * g++.dg/vect/pr70726.cc: New testcase.
Looks reasonable to me.
Jakub
