[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
================
@@ -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:
I think this should still be giving the existing error, I don't see where this is part of a teams region? Please correct me if I have missed something.
https://github.com/llvm/llvm-project/pull/163546
More information about the flang-commits
mailing list