https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125019
--- Comment #2 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:0ecc55faf01e4ebd674d8e1a41712c9762c521aa commit r17-98-g0ecc55faf01e4ebd674d8e1a41712c9762c521aa 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.
