[flang-commits] [flang] [flang][OpenMP] don't privatise loop index marked shared (PR #108176)

Mats Petersson via flang-commits flang-commits at lists.llvm.org
Thu Sep 12 07:35:34 PDT 2024


================
@@ -2121,15 +2121,18 @@ void OmpAttributeVisitor::CreateImplicitSymbols(
       }
       return lastDeclSymbol;
     };
-    auto makeSharedSymbol = [&]() {
+    auto makeSharedSymbol = [&](bool setFlag) {
----------------
Leporacanthicus wrote:

Oh, no, it uses flag in a different place. Doh! :)

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


More information about the flang-commits mailing list