[flang-commits] [flang] [flang][OpenMP] Don't privatize implicit symbols declare by nested `BLOCK`s (PR #152973)
Sergio Afonso via flang-commits
flang-commits at lists.llvm.org
Mon Aug 11 04:26:58 PDT 2025
================
@@ -0,0 +1,31 @@
+! Fixes a bug when a block variable is marked as implicit private. In such
+! case, we can simply ignore privatizing that symbol within the context of the
+! currrent OpenMP construct since the "private" allocation for the symbol will
+! be emitted within the nested block anyway.
----------------
skatrak wrote:
Nit: For this comment, I suggest rewording slightly to something like "When a block variable is marked as implicit private, we can simply ignore privatizing...". Otherwise, it sounds like a unit test is somehow fixing an issue.
https://github.com/llvm/llvm-project/pull/152973
More information about the flang-commits
mailing list