scop-4.c: Avoid out-of-bound access.

2018-10-22  Richard Biener  <rguenther@suse.de>

	* gcc.dg/graphite/scop-4.c: Avoid out-of-bound access.

From-SVN: r265385
This commit is contained in:
Richard Biener 2018-10-22 11:33:48 +00:00 committed by Richard Biener
parent 39c61276fd
commit f79de13a06
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2018-10-22 Richard Biener <rguenther@suse.de>
* gcc.dg/graphite/scop-4.c: Avoid out-of-bound access.
2018-10-22 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/sso14.adb: New test.

View File

@ -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++)