https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125019
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Richard Biener <[email protected]>: https://gcc.gnu.org/g:5020a4d96413ee79b01606e270336b4a758033b9 commit r15-11231-g5020a4d96413ee79b01606e270336b4a758033b9 Author: Richard Biener <[email protected]> Date: Sun Apr 26 11:16:33 2026 +0200 tree-optimization/125019 - fix ICE with recurrence vectorization This fixes an oversight with the PR124677 fix. PR tree-optimization/125019 * tree-vect-loop.cc (vectorizable_recurr): Properly guard against hitting last stmt when searching for the insertion place. * gcc.dg/pr125019.c: New testcase. (cherry picked from commit 0ecc55faf01e4ebd674d8e1a41712c9762c521aa)
