https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87917
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Thu Nov 15 08:16:22 2018 New Revision: 266173 URL: https://gcc.gnu.org/viewcvs?rev=266173&root=gcc&view=rev Log: 2018-11-15 Richard Biener <rguent...@suse.de> PR middle-end/87917 * tree-data-ref.c (analyze_miv_subscript): Guard calls to analyze_subscript_affine_affine properly. * gcc.dg/tree-ssa/pr87917.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/pr87917.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-data-ref.c