[flang][openacc] Resolve symbol in device, host and self clause
authorValentin Clement <clementval@gmail.com>
Wed, 28 Jun 2023 16:08:22 +0000 (09:08 -0700)
committerValentin Clement <clementval@gmail.com>
Wed, 28 Jun 2023 16:08:42 +0000 (09:08 -0700)
commiteeba037e0bb6bf0686eca73f4b4cf5eaf573499b
tree96790bb3edc4c571f0c29fb582df402de23558f0
parent9ed76f3958bba8abb0e40fa51f9ff54961332f18
[flang][openacc] Resolve symbol in device, host and self clause

Some symbols were not resolved in the device, host and self clause
resulting in an `Internal: no symbol found` error.

This patch adds symbol resolution for these clauses.

Reviewed By: razvanlupusoru

Differential Revision: https://reviews.llvm.org/D153919
flang/include/flang/Semantics/symbol.h
flang/lib/Semantics/resolve-directives.cpp
flang/test/Semantics/OpenACC/acc-parallel-loop-validity.f90
flang/test/Semantics/OpenACC/acc-resolve04.f90 [new file with mode: 0644]
flang/test/Semantics/OpenACC/acc-update-validity.f90