https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110571
--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <[email protected]>: https://gcc.gnu.org/g:b7942104794a754f9927916dfc8931d4bd515648 commit r16-5630-gb7942104794a754f9927916dfc8931d4bd515648 Author: Richard Biener <[email protected]> Date: Wed Nov 26 13:54:12 2025 +0100 tree-optimization/110571 - fix vect_need_peeling_or_partial_vectors_p The following avoids re-calling of vect_need_peeling_or_partial_vectors_p after peeling. This was neccesary because the function does not properly handle being called for epilogues since it looks for the applied prologue peeling not in the main vector loop but the current one operated on. PR tree-optimization/110571 * tree-vectorizer.h (vect_need_peeling_or_partial_vectors_p): Remove. * tree-vect-loop.cc (vect_need_peeling_or_partial_vectors_p): Fix when called on epilog loops. Make static. * tree-vect-loop-manip.cc (vect_do_peeling): Do not re-compute LOOP_VINFO_PEELING_FOR_NITER.
