[flang][openacc] Avoid use of init, shutdown and set in compute construct
authorValentin Clement <clementval@gmail.com>
Tue, 8 Dec 2020 20:14:24 +0000 (15:14 -0500)
committerclementval <clementval@gmail.com>
Tue, 8 Dec 2020 20:14:44 +0000 (15:14 -0500)
commitb53115b6c8aa9a107bb80e704b077b253037514f
treedfc33e6d4fdd96b4265d87afef02cb787901f8c1
parent39431e479ffddc81120911f031921b2d637e967f
[flang][openacc] Avoid use of init, shutdown and set in compute construct

init, shutdown and set directive are not allowed in compute construct.

Reviewed By: SouraVX

Differential Revision: https://reviews.llvm.org/D92443
flang/lib/Semantics/check-acc-structure.cpp
flang/lib/Semantics/check-acc-structure.h
flang/test/Semantics/acc-clause-validity.f90