https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111915
--- 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:00eb0812e6464307f9f971d2a743d720015e70cf commit r14-4865-g00eb0812e6464307f9f971d2a743d720015e70cf Author: Richard Biener <rguent...@suse.de> Date: Mon Oct 23 13:42:53 2023 +0200 tree-optimization/111915 - mixing grouped and non-grouped accesses The change to allow SLP of non-grouped accesses failed to check for the case of mixing with grouped accesses. PR tree-optimization/111915 * tree-vect-slp.cc (vect_build_slp_tree_1): Check all accesses are either grouped or not. * gcc.dg/vect/pr111915.c: New testcase.