https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115537
--- Comment #3 from GCC 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:7f9be55a4630134a237219af9cc8143e02080380 commit r15-1407-g7f9be55a4630134a237219af9cc8143e02080380 Author: Richard Biener <rguent...@suse.de> Date: Tue Jun 18 14:00:52 2024 +0200 tree-optimization/115537 - ICE with SLP condition reduction vectorization The condition rejecting "multiple-type" SLP condition reduction lacks handling EXTRACT_LAST reductions. PR tree-optimization/115537 * tree-vect-loop.cc (vectorizable_reduction): Also reject SLP condition reductions of EXTRACT_LAST kind when multiple statement copies are involved. * gcc.dg/vect/pr115537.c: New testcase.