[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:39 PDT 2025


================
@@ -53,7 +53,7 @@ SUBROUTINE LINEAR_BAD(N)
   !$omp end teams
   !$omp end target 
 
-  !ERROR: `DISTRIBUTE` region has to be strictly nested inside `TEAMS` region.
+  !WARNING: `DISTRIBUTE` must be dynamically enclosed in a `TEAMS` region.
----------------
Stylie777 wrote:

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

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


More information about the flang-commits mailing list