]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
g++.dg/gomp/clause-3.C: Fix - missing in r12-438-g1580fc7 [PR100422]
authorTobias Burnus <tobias@codesourcery.com>
Fri, 14 May 2021 08:04:14 +0000 (10:04 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Fri, 14 May 2021 08:04:14 +0000 (10:04 +0200)
gcc/testsuite/
PR testsuite/100422
* g++.dg/gomp/clause-3.C: Use 'reduction(&:..)' instead of '...(&&:..)'.

(cherry picked from commit af4e4d35f0b84d7c2f57a7b682a09116e9911142)

gcc/testsuite/ChangeLog.omp
gcc/testsuite/g++.dg/gomp/clause-3.C

index d4a89ce34f887e7e8a463d2d7532b1c49cdcd8ec..01b68bdf7900f1aa3f8cd8d030b4a4b8ac72c73c 100644 (file)
@@ -1,3 +1,11 @@
+2021-05-14  Tobias Burnus  <tobias@codesourcery.com>
+
+       Backported from master:
+       2021-05-05  Tobias Burnus  <tobias@codesourcery.com>
+
+       PR testsuite/100422
+       * g++.dg/gomp/clause-3.C: Use 'reduction(&:..)' instead of '...(&&:..)'.
+
 2021-05-14  Tobias Burnus  <tobias@codesourcery.com>
 
        Backported from master:
index e0edc873483d0c4d50bdb864fb533374536bc921..aad97d6ad62a957df09a3bffe71c547039abaebe 100644 (file)
@@ -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'" }
     ;