public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Kwok Yeung <kcy@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc/devel/omp/gcc-11] Update expected messages in data-clause-1 tests
Date: Thu, 13 May 2021 16:20:53 +0000 (GMT)	[thread overview]
Message-ID: <20210513162053.0FDE93AA9C5F@sourceware.org> (raw)

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])
     ;


                 reply	other threads:[~2021-05-13 16:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210513162053.0FDE93AA9C5F@sourceware.org \
    --to=kcy@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).