diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-24 09:46:06 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-24 09:46:06 +0000 |
commit | 707cf6c32b20dea21cde431088c0c9afc3b0d71f (patch) | |
tree | 608115b09673561137ecb4b7c3ec65b51c04db95 /libgomp | |
parent | b9b50b55407c2148550647b7d0eafc24826f9988 (diff) | |
download | gcc-707cf6c32b20dea21cde431088c0c9afc3b0d71f.tar.gz |
2012-10-24 Dominique d'Humieres <dominiq@lps.ens.fr>
* testsuite/libgomp.graphite/force-parallel-6.c: Adjust the loops.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192761 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp')
-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 f5a2eeb7042..cfa8ce5975f 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 995baa9c45b..d04c120324b 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]; } |