https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101445
--- Comment #6 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:1eee5fa556432fb6eab3a479c95609c5f3791ccb commit r11-8736-g1eee5fa556432fb6eab3a479c95609c5f3791ccb Author: Richard Biener <rguent...@suse.de> Date: Wed Jul 14 11:06:58 2021 +0200 tree-optimization/101445 - fix negative stride SLP vect with gaps The following fixes the IV adjustment for the gap in a negative stride SLP vectorization. The adjustment was in the wrong direction, now fixes as in the patch. 2021-07-14 Richard Biener <rguent...@suse.de> PR tree-optimization/101445 * tree-vect-stmts.c (vectorizable_load): Do the gap adjustment of the IV in the correct direction for negative stride accesses. * gcc.dg/vect/pr101445.c: New testcase. (cherry picked from commit a967a3efd39280fe3f5774e45490e991f8e99059)