diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2021-05-14 13:41:52 +0200 |
---|---|---|
committer | Kwok Cheung Yeung <kcy@codesourcery.com> | 2022-06-21 14:11:37 +0100 |
commit | a24748da5b48f23ac83fa9f2d128f766e80567ed (patch) | |
tree | c8f73cbd2115aa3d10da23dfb14bdb3db07fdb80 /gcc | |
parent | e932de121d87423bd033d75fc5b1c089f1b56b94 (diff) | |
download | gcc-a24748da5b48f23ac83fa9f2d128f766e80567ed.zip gcc-a24748da5b48f23ac83fa9f2d128f766e80567ed.tar.gz gcc-a24748da5b48f23ac83fa9f2d128f766e80567ed.tar.bz2 |
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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog.omp | 4 | ||||
-rw-r--r-- | gcc/testsuite/c-c++-common/gomp/map-6.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog.omp b/gcc/testsuite/ChangeLog.omp index e9a736e..79c519d 100644 --- a/gcc/testsuite/ChangeLog.omp +++ b/gcc/testsuite/ChangeLog.omp @@ -1,3 +1,7 @@ +2021-05-14 Tobias Burnus <tobias@codesourcery.com> + + * c-c++-common/gomp/map-6.c: Remove two dg-error. + 2021-04-30 Kwok Cheung Yeung <kcy@codesourcery.com> * c-c++-common/goacc/note-parallelism-1-kernels-straight-line.c: Add diff --git a/gcc/testsuite/c-c++-common/gomp/map-6.c b/gcc/testsuite/c-c++-common/gomp/map-6.c index 6ee5971..194e9e0 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) |