[flang-commits] [flang] [Flang][OpenMP] Permit THREADPRIVATE variables in EQUIVALENCE statements (PR #186696)

Michael Klemm via flang-commits flang-commits at lists.llvm.org
Sun Mar 15 13:49:46 PDT 2026


================
@@ -57,7 +57,8 @@ ENUM_CLASS(LanguageFeature, BackslashEscapes, OldDebugLines,
     ForwardRefExplicitTypeDummy, InaccessibleDeferredOverride,
     CudaWarpMatchFunction, DoConcurrentOffload, TransferBOZ, Coarray,
     PointerPassObject, MultipleIdenticalDATA,
-    DefaultStructConstructorNullPointer, AssumedRankIoItem)
+    DefaultStructConstructorNullPointer, AssumedRankIoItem,
+    OpenMPThreadprivateEquivalence)
----------------
mjklemm wrote:

> Note: this may be first warning for "language feature" that's actually driven by OpenMP. Since this warning is language specific that's driven by OpenMP requirements, maybe it's ok. I just wanted to point this out, in case the other reviewers have other thoughts.

Yeah, but there are CUDA-related warnings.  So, I guess it's OK to treat OpenMP warnings the same way.  Crossing my fingers that this is the case :-)

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


More information about the flang-commits mailing list