https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105219
--- Comment #19 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:f27848a5dc4d3b16cd4112bddcb59e0916eba623 commit r12-8297-gf27848a5dc4d3b16cd4112bddcb59e0916eba623 Author: Richard Biener <rguent...@suse.de> Date: Wed Apr 27 14:06:12 2022 +0200 tree-optimization/105219 - bogus max iters for vectorized epilogue The following makes sure to take into account prologue peeling when trying to narrow down the maximum number of iterations computed for the vectorized epilogue. A similar issue exists when peeling for gaps. 2022-04-27 Richard Biener <rguent...@suse.de> PR tree-optimization/105219 * tree-vect-loop.cc (vect_transform_loop): Disable special code narrowing the vectorized epilogue max iterations when peeling for alignment or gaps was in effect. * gcc.dg/vect/pr105219.c: New testcase.