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


================
@@ -49,7 +49,7 @@ program omp_do
   end do
   !$omp end parallel do simd
 
-  !ERROR: `DISTRIBUTE` region has to be strictly nested inside `TEAMS` region.
+  !WARNING: `DISTRIBUTE` must be dynamically enclosed in a `TEAMS` region.
----------------
Stylie777 wrote:

Same here, where is the teams region? (same comment applies to the warning later in this test file)

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


More information about the flang-commits mailing list