https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116810
--- 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:2c04f175de4f3985d783511662375d52f2cf4ad8 commit r15-3794-g2c04f175de4f3985d783511662375d52f2cf4ad8 Author: Richard Biener <rguent...@suse.de> Date: Mon Sep 23 10:30:32 2024 +0200 tree-optimization/116810 - out-of-bound access to matches[] The following makes sure to apply forced splitting of groups for firced single-lane SLP only when the group being analyzed has more than one lane. This avoids an out-of-bound access to matches[]. PR tree-optimization/116810 * tree-vect-slp.cc (vect_build_slp_instance): Onlu force splitting for group_size > 1.