[flang-commits] [flang] [flang][OpenMP][Semantics] Don't allow reduction of derived type components (PR #125480)
Kelvin Li via flang-commits
flang-commits at lists.llvm.org
Tue Feb 4 05:12:12 PST 2025
kkwli wrote:
> I am not 100% sure about this since previous versions explicitly allowed array elements. It might be worth asking a question to the OpenMP committee.
OpenMP 6.0 clarifies that array elements are allowed on the clause.
"The list items that appear in a reduction clause or an induction clause may include array sections and array elements." (247:3-4)
https://github.com/llvm/llvm-project/pull/125480
More information about the flang-commits
mailing list