[flang-commits] [clang] [flang] [Flang][OpenMP] Flag for switching off implicit allocatable member mapping via default declare mapper (PR #228748)

Tarun Prabhu via flang-commits flang-commits at lists.llvm.org
Mon Oct 5 08:03:48 PDT 2026


================
@@ -13,5 +13,6 @@
 
 extern llvm::cl::opt<bool> enableDelayedPrivatization;
 extern llvm::cl::opt<bool> enableDelayedPrivatizationStaging;
+extern bool enableImplicitDefaultMapperAllocatableMembers;
----------------
tarunprabhu wrote:

I am not very familiar with the OpenMP implementation in flang, but is there really no other way to pass a flag down to it other than this? It feels a bit fragile to me. @tblah, do you have any suggestions on alternative ways of doing this?

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


More information about the flang-commits mailing list