public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-11] c-c++-common/gomp/map-6.c: Fix dg-error due to mapping changes
@ 2021-05-14 11:57 Tobias Burnus
  0 siblings, 0 replies; only message in thread
From: Tobias Burnus @ 2021-05-14 11:57 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:17c55806b3777b12904bd4704c667a1707f9bb62

commit 17c55806b3777b12904bd4704c667a1707f9bb62
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Fri May 14 13:41:52 2021 +0200

    c-c++-common/gomp/map-6.c: Fix dg-error due to mapping changes
    
    OpenMP 5 relaxed some repetition rules such that some double-use
    warnings no longer occur; that patch is not yet on mainline.
    
    gcc/testsuite/
            * c-c++-common/gomp/map-6.c: Remove two dg-error.

Diff:
---
 gcc/testsuite/c-c++-common/gomp/map-6.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/c-c++-common/gomp/map-6.c b/gcc/testsuite/c-c++-common/gomp/map-6.c
index 6ee59714847..194e9e070eb 100644
--- a/gcc/testsuite/c-c++-common/gomp/map-6.c
+++ b/gcc/testsuite/c-c++-common/gomp/map-6.c
@@ -100,10 +100,10 @@ foo (void)
   #pragma omp target map (always, close)
   ;
 
-  #pragma omp target map (always, always)  /* { dg-error "'always' appears more than once in map clauses" } */
+  #pragma omp target map (always, always)  /* Note: 'always' appears more than once in map clauses  */
   ;
 
-  #pragma omp target map (always, always, close)  /* { dg-error "'always' appears more than once in map clauses" } */
+  #pragma omp target map (always, always, close)  /* Note: 'always' appears more than once in map clauses */
   ;
 
   #pragma omp target map (always, close, to: always, close, b7)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-14 11:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-14 11:57 [gcc/devel/omp/gcc-11] c-c++-common/gomp/map-6.c: Fix dg-error due to mapping changes Tobias Burnus

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).