[flang-commits] [flang] [flang] Extend `omp loop` semantic checks for `reduction` (PR #128823)

Michael Klemm via flang-commits flang-commits at lists.llvm.org
Thu Feb 27 02:05:39 PST 2025


================
@@ -30,4 +30,9 @@ program main
   end do
   !$omp end teams loop
 
+  !ERROR: 'REDUCTION' clause not allowed with '!$OMP LOOP BIND(TEAMS).
----------------
mjklemm wrote:

```suggestion
  !ERROR: 'REDUCTION' clause not allowed with '!$OMP LOOP BIND(TEAMS)'.
```

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


More information about the flang-commits mailing list