[flang-commits] [flang] [Flang][OpenMP] Fixed semantic error when list item with a private da… (PR #109775)
Krzysztof Parzyszek via flang-commits
flang-commits at lists.llvm.org
Tue Oct 8 09:49:00 PDT 2024
kparzysz wrote:
> Please could you add a reference to the relevant clause of the standard to the commit description and/or a code comment. I am finding this difficult to find.
Yeah, I'm pretty sure this isn't legal. The ALLOCATE clause must be on the same directive that has the privatizing clause. It specifies how to allocate memory for the private copy, so adding it in a nested construct is questionable.
https://github.com/llvm/llvm-project/pull/109775
More information about the flang-commits
mailing list