[flang-commits] [flang] [flang][OpenMP] Add `hostIsSource` paramemter to `copyHostAssociateVar` (PR #123162)

Kareem Ergawy via flang-commits flang-commits at lists.llvm.org
Mon Feb 3 04:10:11 PST 2025


ergawy wrote:

Indeed, I came across this too. My understanding is that this does not apply (and take this with a big grain of salt; I might be totally wrong) because before these rules, the spec says:
```
Certain variables and objects have predetermined data-sharing attributes for the construct in which
they are referenced. The **first matching rule** from the following list of predetermined data-sharing
attribute rules applies for variables and objects that are referenced in a construct.
```
The emphasis here is on "first matching rule". I might be reading this wrong though, hence asking @mjklemm if he has any input. If it needs to be `private`, I will work on that for sure.

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


More information about the flang-commits mailing list