public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-11] Update expected messages in data-clause-1 tests
@ 2021-05-13 16:20 Kwok Yeung
0 siblings, 0 replies; only message in thread
From: Kwok Yeung @ 2021-05-13 16:20 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:4e54e09c04e6fcbd35e7b296423912c8028d3150
commit 4e54e09c04e6fcbd35e7b296423912c8028d3150
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 1e061f4f515..d1a30bf2ac3 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-04-29 Kwok Cheung Yeung <kcy@codesourcery.com>
* c-c++-common/goacc/kernels-decompose-ice-1.c (main): Update expected
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])
;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-13 16:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-13 16:20 [gcc/devel/omp/gcc-11] Update expected messages in data-clause-1 tests Kwok Yeung
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).