diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2021-05-05 08:50:15 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2022-05-11 08:18:01 +0200 |
commit | d042fa8e2cfabe5da83634ce05e8130d1010c034 (patch) | |
tree | 0e83de3f7c941b887c6035d07d1ce3d17d11610c | |
parent | 4431014dc2e905a427d1e9dd4f4d494ae2d7ab96 (diff) | |
download | gcc-d042fa8e2cfabe5da83634ce05e8130d1010c034.zip gcc-d042fa8e2cfabe5da83634ce05e8130d1010c034.tar.gz gcc-d042fa8e2cfabe5da83634ce05e8130d1010c034.tar.bz2 |
g++.dg/gomp/clause-3.C: Fix - missing in r12-438-g1580fc7 [PR100422]
gcc/testsuite/
PR testsuite/100422
* g++.dg/gomp/clause-3.C: Use 'reduction(&:..)' instead of '...(&&:..)'.
(cherry picked from commit af4e4d35f0b84d7c2f57a7b682a09116e9911142)
-rw-r--r-- | gcc/testsuite/g++.dg/gomp/clause-3.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/gomp/clause-3.C b/gcc/testsuite/g++.dg/gomp/clause-3.C index e0edc87..aad97d6 100644 --- a/gcc/testsuite/g++.dg/gomp/clause-3.C +++ b/gcc/testsuite/g++.dg/gomp/clause-3.C @@ -56,7 +56,7 @@ foo (int x) ; #pragma omp p reduction (|:d) // { dg-error "user defined reduction not found for" } ; -#pragma omp p reduction (&&:d) // { dg-error "user defined reduction not found for" } +#pragma omp p reduction (&:d) // { dg-error "user defined reduction not found for" } ; #pragma omp p copyin (d) // { dg-error "must be 'threadprivate'" } ; |