https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115741
--- 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:9bd51351c175d345b8a9b3c19ba49ba358940272 commit r15-1783-g9bd51351c175d345b8a9b3c19ba49ba358940272 Author: Richard Biener <rguent...@suse.de> Date: Tue Jul 2 09:33:29 2024 +0200 tree-optimization/115741 - ICE with VMAT_CONTIGUOUS_REVERSE and gap When we determine overrun we have to consider VMAT_CONTIGUOUS_REVERSE the same as VMAT_CONTIGUOUS. PR tree-optimization/115741 * tree-vect-stmts.cc (get_group_load_store_type): Also handle VMAT_CONTIGUOUS_REVERSE when determining overrun.