https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95839
--- 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:628b78f9794a2eefcbc578011806bfa8e09b9ef7 commit r11-1653-g628b78f9794a2eefcbc578011806bfa8e09b9ef7 Author: Richard Biener <rguent...@suse.de> Date: Thu Jun 25 12:47:20 2020 +0200 tree-optimization/95839 - allow CTOR vectorization without loads This removes a premature check for enough datarefs in a basic-block before we consider vectorizing it which leaves basic-blocks with just vectorizable vector constructors unvectorized. The check is effectively done by the following check for store groups which then also include constructors. 2020-06-25 Richard Biener <rguent...@suse.de> PR tree-optimization/95839 * tree-vect-slp.c (vect_slp_analyze_bb_1): Remove premature check on the number of datarefs. * gcc.dg/vect/bb-slp-pr95839.c: New testcase.