From f79de13a061f1c819af45dbc309ac7e52e5a0c0a Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 22 Oct 2018 11:33:48 +0000 Subject: [PATCH] scop-4.c: Avoid out-of-bound access. 2018-10-22 Richard Biener * gcc.dg/graphite/scop-4.c: Avoid out-of-bound access. From-SVN: r265385 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/graphite/scop-4.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fa4247ac165..a26bf6136c1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2018-10-22 Richard Biener + + * gcc.dg/graphite/scop-4.c: Avoid out-of-bound access. + 2018-10-22 Eric Botcazou * gnat.dg/sso14.adb: New test. diff --git a/gcc/testsuite/gcc.dg/graphite/scop-4.c b/gcc/testsuite/gcc.dg/graphite/scop-4.c index 4fb0e5ea471..eeaa7fa02bc 100644 --- a/gcc/testsuite/gcc.dg/graphite/scop-4.c +++ b/gcc/testsuite/gcc.dg/graphite/scop-4.c @@ -3,7 +3,7 @@ void bar (); int toto() { int i, j, k; - int a[100][100]; + int a[100][200]; int b[100]; for (i = 1; i < 100; i++) -- 2.30.2