[flang-commits] [flang] [mlir] [flang][OpenMP] Delayed privatization for variables with `equivalence` association (PR #100531)

Christian Ulmann via flang-commits flang-commits at lists.llvm.org
Thu Jul 25 05:00:16 PDT 2024


================
@@ -2505,7 +2505,11 @@ LogicalResult PrivateClauseOp::verify() {
              << "Did not expect any values to be yielded.";
     }
 
-    if (yieldedTypes.size() == 1 && yieldedTypes.front() == symType)
+    // TODO How can we check that 2 types are compatible without leaking
----------------
Dinistro wrote:

That might be doable by working with dialect interfaces, I think.

https://github.com/llvm/llvm-project/pull/100531


More information about the flang-commits mailing list