]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Update expected messages in data-clause-1 tests
authorKwok Cheung Yeung <kcy@codesourcery.com>
Thu, 29 Apr 2021 22:06:38 +0000 (15:06 -0700)
committerKwok Cheung Yeung <kcy@codesourcery.com>
Thu, 29 Apr 2021 22:07:49 +0000 (15:07 -0700)
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.

gcc/testsuite/ChangeLog.omp
gcc/testsuite/c-c++-common/goacc/data-clause-1.c
gcc/testsuite/g++.dg/goacc/data-clause-1.C

index 1e061f4f515b614b9f41025b13c2b296aa206016..d1a30bf2ac3ead1c7f8817558cbff206028cc298 100644 (file)
@@ -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
index 9952ac4fb4feea806689d98b08fe58b4944401a6..b78f691dc9fcfdbdc7c85bfe79b62772f9e7c0f4 100644 (file)
@@ -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])
     ;
index 07ef6aed788ee8ada6c91c34a936589a919098b1..daea3f4706b4957a15107c56724e1126ddfb3cb8 100644 (file)
@@ -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])
     ;