https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103995
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:7f49f50f756c06f4093358ff77c11152777fff1c commit r11-9458-g7f49f50f756c06f4093358ff77c11152777fff1c Author: Richard Biener <rguent...@suse.de> Date: Wed Jul 28 15:12:00 2021 +0200 tree-optimization/101615 - SLP permute opt with CTOR roots CTOR roots are not explicitely represented so we have to make sure to materialize permutes on SLP graph entries to them. 2021-07-28 Richard Biener <rguent...@suse.de> PR tree-optimization/101615 PR tree-optimization/103995 * tree-vect-slp.c (vect_optimize_slp): Materialize permutes at CTOR SLP graph entries. * gcc.dg/vect/bb-slp-pr101615-2.c: New testcase.