public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r9-10153] g++.dg/gomp/clause-3.C: Fix - missing in r12-438-g1580fc7 [PR100422]
@ 2022-05-11  6:26 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2022-05-11  6:26 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:d042fa8e2cfabe5da83634ce05e8130d1010c034

commit r9-10153-gd042fa8e2cfabe5da83634ce05e8130d1010c034
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Wed May 5 08:50:15 2021 +0200

    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)

Diff:
---
 gcc/testsuite/g++.dg/gomp/clause-3.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/g++.dg/gomp/clause-3.C b/gcc/testsuite/g++.dg/gomp/clause-3.C
index e0edc873483..aad97d6ad62 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'" }
     ;


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

only message in thread, other threads:[~2022-05-11  6:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-11  6:26 [gcc r9-10153] g++.dg/gomp/clause-3.C: Fix - missing in r12-438-g1580fc7 [PR100422] Jakub Jelinek

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