summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgomp/ChangeLog5
-rw-r--r--libgomp/testsuite/libgomp.oacc-c-c++-common/collapse-2.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 9ca963ac314..eb1db836410 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,5 +1,10 @@
2015-11-13 Nathan Sidwell <nathan@codesourcery.com>
+ * testsuite/libgomp.oacc-c-c++-common/collapse-2.c: Sequential
+ loop is sequential.
+
+2015-11-13 Nathan Sidwell <nathan@codesourcery.com>
+
* testsuite/libgomp.oacc-c-c++-common/reduction-cplx-dbl.c: New.
* testsuite/libgomp.oacc-c-c++-common/reduction-cplx-flt.c: New.
diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/collapse-2.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/collapse-2.c
index 8c56adac0cf..62bb5e0bbd9 100644
--- a/libgomp/testsuite/libgomp.oacc-c-c++-common/collapse-2.c
+++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/collapse-2.c
@@ -9,7 +9,7 @@ main (void)
int m1 = 4, m2 = -5, m3 = 17;
#pragma acc parallel copy(l)
- #pragma acc loop collapse(3) reduction(+:l)
+ #pragma acc loop seq collapse(3) reduction(+:l)
for (i = -2; i < m1; i++)
for (j = m2; j < -2; j++)
{