https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97678
--- Comment #4 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:f53e9d40de7212413b361758d66aafb833173dd9 commit r11-4646-gf53e9d40de7212413b361758d66aafb833173dd9 Author: Richard Biener <rguent...@suse.de> Date: Tue Nov 3 09:53:11 2020 +0100 tree-optimization/97678 - fix SLP induction epilogue vectorization This restores not tracking SLP nodes for induction initial values in not nested context because this interferes with peeling and epilogue vectorization. 2020-11-03 Richard Biener <rguent...@suse.de> PR tree-optimization/97678 * tree-vect-slp.c (vect_build_slp_tree_2): Do not track the initial values of inductions when not nested. * tree-vect-loop.c (vectorizable_induction): Look at PHI node initial values again for SLP and not nested inductions. Handle LOOP_VINFO_MASK_SKIP_NITERS and cost invariants. * gcc.dg/vect/pr97678.c: New testcase.