https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116819
--- Comment #7 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:cef29936c6b6773bff1939f94fb629760725bd82 commit r15-3831-gcef29936c6b6773bff1939f94fb629760725bd82 Author: Richard Biener <rguent...@suse.de> Date: Tue Sep 24 13:47:04 2024 +0200 tree-optimization/116819 - SLP with !STMT_VINFO_RELEVANT representative Under some circumstances we can end up picking a not relevant stmt as representative of a SLP node. Instead of skipping stmt analysis and declaring success we have to either ignore relevancy throughout the code base or fail SLP operation verification. The following does the latter. PR tree-optimization/116819 * tree-vect-stmts.cc (vect_analyze_stmt): When the SLP representative isn't relevant signal failure instead of success.