https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125019
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-16 branch has been updated by Richard Biener <[email protected]>: https://gcc.gnu.org/g:5c0139989b7e383587ba0a681b134b32f38b772c commit r16-8815-g5c0139989b7e383587ba0a681b134b32f38b772c 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)
