diff options
author | Dominique d'Humieres <dominiq@lps.ens.fr> | 2012-10-24 11:46:06 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-10-24 09:46:06 +0000 |
commit | c6c084858c967229e5366b7e1ee45820e7e3ba4d (patch) | |
tree | 608115b09673561137ecb4b7c3ec65b51c04db95 | |
parent | bca3cc973b4ec85437b147a8586755f30e1f8366 (diff) | |
download | gcc-c6c084858c967229e5366b7e1ee45820e7e3ba4d.zip gcc-c6c084858c967229e5366b7e1ee45820e7e3ba4d.tar.gz gcc-c6c084858c967229e5366b7e1ee45820e7e3ba4d.tar.bz2 |
force-parallel-6.c: Adjust the loops.
2012-10-24 Dominique d'Humieres <dominiq@lps.ens.fr>
* testsuite/libgomp.graphite/force-parallel-6.c: Adjust the loops.
From-SVN: r192761
-rw-r--r-- | libgomp/ChangeLog | 4 | ||||
-rw-r--r-- | libgomp/testsuite/libgomp.graphite/force-parallel-6.c | 6 |
2 files changed, 7 insertions, 3 deletions
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 <dominiq@lps.ens.fr> + + * testsuite/libgomp.graphite/force-parallel-6.c: Adjust the loops. + 2012-10-23 Ian Bolton <ian.bolton@arm.com> Jim MacArthur <jim.macarthur@arm.com> Marcus Shawcroft <marcus.shawcroft@arm.com> 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]; } |