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

Michael Klemm via flang-commits flang-commits at lists.llvm.org
Mon Mar 16 03:35:22 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:

> I documented some extensions to the atomic construct in flang/docs/OpenMPSupport.md, I don't mind if extensions go somewhere else, but we should keep them together.

Good to know.  I thought about creating a new document "OpenMP-extensions" similar to what we have for Fortran.  Let's bring this up in the biweekly call and decide what the best place is supposed to be.  I will hold this off from this PR for now, but I will create a follow-up PR to either refactor the existing content and/or add the mention of this extension to where it has been decided it should go.  

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


More information about the flang-commits mailing list