[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
Mon Jun 9 05:56:06 PDT 2025


https://github.com/luporl approved this pull request.

LGTM, thanks!

Note that I'm assuming the reason for static storage variables defaulting to shared DSA is:
- Implicit rule that says that in a task generating construct, with no default clause, a variable that is shared in the enclosing context is determined to be shared.
- When the enclosing context is not an OpenMP directive, a variable is shared if it has static storage duration.

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


More information about the flang-commits mailing list