Commit a82484a2 by Nick Clifton

isl-ast-gen-if.c (main): Increase size of a array to allow a[50] to be a valid location.

	* gcc.dg/graphite/isl-ast-gen-if.c (main): Increase size of a
	array to allow a[50] to be a valid location.

From-SVN: r224743
parent e39c4966
...@@ -28,7 +28,7 @@ extern void abort (); ...@@ -28,7 +28,7 @@ extern void abort ();
int int
main (void) main (void)
{ {
int a[50]; int a[51]; /* NB This size allows foo's first iteration to write to a[50]. */
foo (a, 50); foo (a, 50);
int res = array_sum (a); int res = array_sum (a);
if (res != 49) if (res != 49)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment