From: Tobias Burnus Date: Fri, 14 May 2021 11:41:52 +0000 (+0200) Subject: c-c++-common/gomp/map-6.c: Fix dg-error due to mapping changes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17c55806b3777b12904bd4704c667a1707f9bb62;p=thirdparty%2Fgcc.git 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 --git a/gcc/testsuite/c-c++-common/gomp/map-6.c b/gcc/testsuite/c-c++-common/gomp/map-6.c index 6ee597148472..194e9e070ebb 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)