diff mbox series

[committed] g++.dg/gomp/clause-3.C: Fix - missing in r12-438-g1580fc7 [PR100422]

Message ID 92e2d6fa-b388-9b22-c53f-792910719bbb@codesourcery.com
State New
Headers show
Series [committed] g++.dg/gomp/clause-3.C: Fix - missing in r12-438-g1580fc7 [PR100422] | expand

Commit Message

Tobias Burnus May 5, 2021, 8:16 a.m. UTC
Committed as r12-477-gaf4e4d35f0b84d7c2f57a7b682a09116e9911142

Was missing in commit r12-438-g1580fc764423bf89e9b853aaa8c65999e37ccb8b
OpenMP: Support complex/float in && and || reduction

Tobias
-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstrasse 201, 80634 München Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Frank Thürauf
diff mbox series

Patch

commit af4e4d35f0b84d7c2f57a7b682a09116e9911142
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 '...(&&:..)'.

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'" }
     ;