[flang-commits] [flang] [flang][OpenMP] Make static duration variables default to shared DSA (PR #142783)
Leandro Lupori via flang-commits
flang-commits at lists.llvm.org
Thu Jun 5 11:37:54 PDT 2025
================
@@ -169,3 +169,39 @@ subroutine implicit_dsa_test8
end do
!$omp end task
end subroutine
+
+! Test variables defined in modules default to shared DSA
+!DEF: /implicit_dsa_test9_mod Module
+module implicit_dsa_test9_mod
+ !DEF: /implicit_dsa_test9_mod/tm3a PUBLIC (InDataStmt) ObjectEntity COMPLEX(4)
+ complex tm3a/(0,0)/
----------------
luporl wrote:
nit: add a module variable that doesn't have an initializer and reference it in the task below.
https://github.com/llvm/llvm-project/pull/142783
More information about the flang-commits
mailing list