https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116575
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <[email protected]>: https://gcc.gnu.org/g:ac6cd62a351a8f1f3637a2552c74eb5eb51cfdda commit r15-3411-gac6cd62a351a8f1f3637a2552c74eb5eb51cfdda Author: Richard Biener <[email protected]> Date: Tue Sep 3 09:23:20 2024 +0200 tree-optimization/116575 - avoid ICE with SLP mask_load_lane The following avoids performing re-discovery with single lanes in the attempt to for the use of mask_load_lane as rediscovery will fail since a single lane of a mask load will appear permuted which isn't supported. PR tree-optimization/116575 * tree-vect-slp.cc (vect_analyze_slp): Properly compute the mask argument for vect_load/store_lanes_supported. When the load is masked for now avoid rediscovery. * gcc.dg/vect/pr116575.c: New testcase.
