[flang-commits] [flang] [flang][OpenMP] Don't allow namelist variables with threadprivate (PR #130957)

via flang-commits flang-commits at lists.llvm.org
Wed Mar 19 01:19:16 PDT 2025


jeanPerier wrote:

I was initially in favor of restricting this, but a few people I work with and are closer to OpenMP disagreed and think that if the OpenMP standard did restrict the private clause case but told nothing about threadprivate, it is because the threadprivate case should work.

So I would be OK supporting this by detecting that there is a threadprivate in the namelist and generating a local namelist descriptor near the IO statement in that case.




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


More information about the flang-commits mailing list