[flang-commits] [flang] [flang][OpenMP]: Allow orphaned distribute construct (PR #163546)

Jack Styles via flang-commits flang-commits at lists.llvm.org
Fri Oct 17 02:33:09 PDT 2025


================
@@ -7,7 +7,7 @@ program main
   real(8) :: a(256), b(256)
   N = 256
 
-  !ERROR: `DISTRIBUTE` region has to be strictly nested inside `TEAMS` region.
+  !WARNING: `DISTRIBUTE` must be dynamically enclosed in a `TEAMS` region.
----------------
Stylie777 wrote:

Apologies, after a re-read and a chat with @tblah I think I misunderstood about the aim of this PR. Ignore this comment, I will resolve it 😀

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


More information about the flang-commits mailing list