https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104152
--- Comment #4 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:1ad72811242eb84dde1bb2e97d0804d6eabeac8a commit r12-6789-g1ad72811242eb84dde1bb2e97d0804d6eabeac8a Author: Richard Biener <rguent...@suse.de> Date: Fri Jan 21 09:48:33 2022 +0100 tree-optimization/104152 - add missing check for SLP constant build This adds a missing check to verify we can actually build an invariant vector from components when SLP vectorizing an associatable chain. 2022-01-21 Richard Biener <rguent...@suse.de> PR tree-optimization/104152 * tree-vect-slp.cc (vect_build_slp_tree_2): Add missing can_duplicate_and_interleave_p check. * gcc.dg/vect/pr104152.c: New testcase.