================
@@ -101,9 +103,11 @@ T tmain(T argc, T *argv) {
a = 2;
#pragma omp task default(none), private(argc, b) firstprivate(argv) shared(d)
if (argc > 0) final(S<T>::TS > 0) priority(argc) affinity(argc, argv[b:argc],
arr[:], ([argc][sizeof(T)])argv)
foo();
+#ifndef OMP60
----------------
Ritanya-B-Bharadwaj wrote:
Yes, according to 6.0 spec - Section 7.6.5 Properties Common to Reduction and
induction Clauses
_If the reduction identifier or induction identifier is an implicitly declared
reduction identifier or induction identifier or otherwise not an id-expression
then it is implicitly converted to one by prepending the keyword operator (for
example, + becomes operator+). This conversion is valid for the +, *, /, && and
|| operators._
https://github.com/llvm/llvm-project/pull/135807
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits