https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110443
--- Comment #5 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:51c8cbc6bba387f953d9be48c4a4c8b657dd54a5 commit r14-2156-g51c8cbc6bba387f953d9be48c4a4c8b657dd54a5 Author: Richard Biener <rguent...@suse.de> Date: Wed Jun 28 10:16:57 2023 +0200 tree-optimization/110443 - prevent SLP splat of gathers The following prevents non-grouped load SLP in case the element to splat is from a gather operation. While it should be possible to support this it is not similar to the single element interleaving case I was trying to mimic here. PR tree-optimization/110443 * tree-vect-slp.cc (vect_build_slp_tree_1): Reject non-grouped gather loads. * gcc.dg/torture/pr110443.c: New testcase.