[flang-commits] [flang] [flang][OpenMP] Don't privatize implicit symbols declare by nested `BLOCK`s (PR #152973)

Kareem Ergawy via flang-commits flang-commits at lists.llvm.org
Mon Aug 11 06:25:35 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.
----------------
ergawy wrote:

Done.

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


More information about the flang-commits mailing list