https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116658
--- Comment #4 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:747700cdb564ed1c5ef13bc73c2fe48639964c0f commit r15-3570-g747700cdb564ed1c5ef13bc73c2fe48639964c0f Author: Richard Biener <rguent...@suse.de> Date: Tue Sep 10 09:39:16 2024 +0200 tree-optimization/116658 - latent issue in vect_is_slp_load_node Permute nodes do not have a representative so we have to guard vect_is_slp_load_node against those. PR tree-optimization/116658 * tree-vect-slp.cc (vect_is_slp_load_node): Make sure node isn't a permute. * g++.dg/vect/pr116658.cc: New testcase.