https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77605
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Mon Sep 19 06:55:17 2016 New Revision: 240227 URL: https://gcc.gnu.org/viewcvs?rev=240227&root=gcc&view=rev Log: 2016-09-19 Richard Biener <rguent...@suse.de> PR middle-end/77605 * tree-data-ref.c (analyze_subscript_affine_affine): Use the proper niter to bound the loops. * gcc.dg/torture/pr77605.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr77605.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-data-ref.c