https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103816
--- Comment #4 from CVS 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:1021b72bf6542f3c08e5404b65063216ee1b06f7 commit r12-6222-g1021b72bf6542f3c08e5404b65063216ee1b06f7 Author: Richard Biener <rguent...@suse.de> Date: Wed Jan 5 10:14:52 2022 +0100 tree-optimization/103816 - detect offset overflow in SLP group analysis This makes sure to detect overflow when computing DR_GROUP_GAP and DR_GROUP_SIZE more thoroughly so artificial testcases like the added one are not fooling the existing check. 2022-01-05 Richard Biener <rguent...@suse.de> PR tree-optimization/103816 * tree-vect-data-refs.c (vect_analyze_group_access_1): Also check DR_GROUP_GAP compute for overflow and representability. * gcc.dg/torture/pr103816.c: New testcase.