[flang-commits] [flang] [llvm] Enabling support for Allocate clause in DO construct (PR #180172)

Jack Styles via flang-commits flang-commits at lists.llvm.org
Fri Feb 6 04:49:33 PST 2026


================
@@ -1791,6 +1792,7 @@ def OMP_MasterTaskloopSimd : Directive<[Spelling<"master taskloop simd">]> {
 }
 def OMP_ParallelDo : Directive<[Spelling<"parallel do">]> {
   let allowedClauses = [
+    VersionedClause<OMPC_Allocate>,
----------------
Stylie777 wrote:

Same as above, please make sure to add tests that cover `do` and `parallel do` failing for versions earlier than 5.0.

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


More information about the flang-commits mailing list