https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97241
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:39a27bb01aa223ce89946f0a4de6b60c4c0b03d2 commit r11-3527-g39a27bb01aa223ce89946f0a4de6b60c4c0b03d2 Author: Richard Biener <rguent...@suse.de> Date: Tue Sep 29 15:02:47 2020 +0200 tree-optimization/97241 - fix ICE in reduction vectorization The following moves an ad-hoc attempt at discovering the SLP node for a stmt to the place where we can find it in lock-step when we find the stmt itself. 2020-09-29 Richard Biener <rguent...@suse.de> PR tree-optimization/97241 * tree-vect-loop.c (vectorizable_reduction): Move finding the SLP node for the reduction stmt to a better place. * gcc.dg/vect/pr97241.c: New testcase.