From c6c084858c967229e5366b7e1ee45820e7e3ba4d Mon Sep 17 00:00:00 2001 From: Dominique d'Humieres Date: Wed, 24 Oct 2012 11:46:06 +0200 Subject: force-parallel-6.c: Adjust the loops. 2012-10-24 Dominique d'Humieres * testsuite/libgomp.graphite/force-parallel-6.c: Adjust the loops. From-SVN: r192761 --- libgomp/ChangeLog | 4 ++++ libgomp/testsuite/libgomp.graphite/force-parallel-6.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'libgomp') diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index f5a2eeb..cfa8ce5 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,7 @@ +2012-10-24 Dominique d'Humieres + + * testsuite/libgomp.graphite/force-parallel-6.c: Adjust the loops. + 2012-10-23 Ian Bolton Jim MacArthur Marcus Shawcroft diff --git a/libgomp/testsuite/libgomp.graphite/force-parallel-6.c b/libgomp/testsuite/libgomp.graphite/force-parallel-6.c index 995baa9..d04c120 100644 --- a/libgomp/testsuite/libgomp.graphite/force-parallel-6.c +++ b/libgomp/testsuite/libgomp.graphite/force-parallel-6.c @@ -7,13 +7,13 @@ int foo(void) { int i, j, k; - for (i = 1; i <= N; i++) + for (i = 0; i < N; i++) { X[i] = Y[i] + 10; - for (j = 1; j <= N; j++) + for (j = 0; j < N; j++) { B[j] = A[j][N]; - for (k = 1; k <= N; k++) + for (k = 0; k < N; k++) { A[j+1][k] = B[j] + C[j][k]; } -- cgit v1.1