[gcc/devel/omp/gcc-14] Update expected messages in data-clause-1 tests
Paul-Antoine Arras
parras@gcc.gnu.org
Fri Jun 28 09:49:33 GMT 2024
https://gcc.gnu.org/g:87ea4de1c4a360d5d62357491a41811213f4528c
commit 87ea4de1c4a360d5d62357491a41811213f4528c
Author: Kwok Cheung Yeung <kcy@codesourcery.com>
Date: Thu Apr 29 15:06:38 2021 -0700
Update expected messages in data-clause-1 tests
The patch 'Merge non-contiguous array support patches' handles one of the
non-contiguous cases such that it is no longer an error.
2021-04-29 Kwok Cheung Yeung <kcy@codesourcery.com>
gcc/testsuite/
* c-c++-common/goacc/data-clause-1.c (foo): Remove expected message.
* g++.dg/goacc/data-clause-1.C (foo): Remove expected message.
Diff:
---
gcc/testsuite/ChangeLog.omp | 5 +++++
gcc/testsuite/c-c++-common/goacc/data-clause-1.c | 2 +-
gcc/testsuite/g++.dg/goacc/data-clause-1.C | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/gcc/testsuite/ChangeLog.omp b/gcc/testsuite/ChangeLog.omp
index 6ff9a06aab7..2bdd10f928e 100644
--- a/gcc/testsuite/ChangeLog.omp
+++ b/gcc/testsuite/ChangeLog.omp
@@ -1,3 +1,8 @@
+2021-04-29 Kwok Cheung Yeung <kcy@codesourcery.com>
+
+ * c-c++-common/goacc/data-clause-1.c (foo): Remove expected message.
+ * g++.dg/goacc/data-clause-1.C (foo): Remove expected message.
+
2021-02-01 Chung-Lin Tang <cltang@codesourcery.com>
* c-c++-common/gomp/clauses-2.c: Adjust testcase.
diff --git a/gcc/testsuite/c-c++-common/goacc/data-clause-1.c b/gcc/testsuite/c-c++-common/goacc/data-clause-1.c
index 9952ac4fb4f..b78f691dc9f 100644
--- a/gcc/testsuite/c-c++-common/goacc/data-clause-1.c
+++ b/gcc/testsuite/c-c++-common/goacc/data-clause-1.c
@@ -98,7 +98,7 @@ foo (int g[3][10], int h[4][8], int i[2][10], int j[][9],
bar (&j2[0][0]);
#pragma acc parallel copy(q[1:2])
;
- #pragma acc parallel copy(q[3:5][:10]) /* { dg-error "array section is not contiguous" } */
+ #pragma acc parallel copy(q[3:5][:10])
;
#pragma acc parallel copy(r[3:][2:1][1:2])
;
diff --git a/gcc/testsuite/g++.dg/goacc/data-clause-1.C b/gcc/testsuite/g++.dg/goacc/data-clause-1.C
index 07ef6aed788..daea3f4706b 100644
--- a/gcc/testsuite/g++.dg/goacc/data-clause-1.C
+++ b/gcc/testsuite/g++.dg/goacc/data-clause-1.C
@@ -99,7 +99,7 @@ foo (int g[3][10], int h[4][8], int i[2][10], int j[][9],
bar (&j2[0][0]);
#pragma acc parallel copy(q[1:2])
;
- #pragma acc parallel copy(q[3:5][:10]) /* { dg-error "array section is not contiguous" } */
+ #pragma acc parallel copy(q[3:5][:10])
;
#pragma acc parallel copy(r[3:][2:1][1:2])
;
More information about the Gcc-cvs
mailing list