https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121034
--- 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:f451ef41bdcbf6d86397f734e1227c94b01cae17 commit r16-2200-gf451ef41bdcbf6d86397f734e1227c94b01cae17 Author: Richard Biener <[email protected]> Date: Fri Jul 11 13:14:13 2025 +0200 tree-optimization/121034 - fix reduction vectorization The following fixes the loop following the reduction chain to properly visit all SLP nodes involved and makes the stmt info and the SLP node we track match. PR tree-optimization/121034 * tree-vect-loop.cc (vectorizable_reduction): Cleanup reduction chain following code. * gcc.dg/vect/pr121034.c: New testcase.
