https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95297
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:d31694544d2d805151899ab0a0bc654767035ad6 commit r11-607-gd31694544d2d805151899ab0a0bc654767035ad6 Author: Richard Biener <rguent...@suse.de> Date: Mon May 25 11:14:03 2020 +0200 tree-optimization/95297 - handle scalar shift arg for SLP invariant vectype This skips invariant vector type setting for a scalar shift argument. 2020-05-25 Richard Biener <rguent...@suse.de> PR tree-optimization/95297 * tree-vect-stmts.c (vectorizable_shift): For scalar_shift_arg skip updating operand 1 vector type. * g++.dg/vect/pr95297.cc: New testcase. * g++.dg/vect/pr95290.cc: Likewise.