[flang-commits] [flang] [flang][OpenMP] Add semantic check for target construct (PR #73697)
via flang-commits
flang-commits at lists.llvm.org
Mon Dec 4 08:05:05 PST 2023
https://github.com/NimishMishra commented:
Same with gfortran- It gives warning for neither. Is making this warning work for different functions a blocker for us?
@shraiysh Maybe we can discuss further. But at an initial level, I am not able to see how we could do this in semantics at least. Or that if we even have the information to do so. I was mainly thinking in terms of scopes or the details attached to symbols `x`/`y`. But doesn't seem like we have relevant information there.
Keeping a track of functions may help. But then we have to also mark which functions exist within target region in _some_ callee function in the entire program. Is that a big ask while we are doing semantic checks?
https://github.com/llvm/llvm-project/pull/73697
More information about the flang-commits
mailing list