Each var argument to an attach or detach clause must be a
Fortran variable or array with the pointer or allocatable attribute.
This patch enforce this restruction.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D103279
[flang][openacc] Enforce restriction on attach and detach variables ClosedPublic Authored by clementval on May 27 2021, 12:51 PM.
Details Summary Each var argument to an attach or detach clause must be a
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 28 2021, 3:13 PM clementval added inline comments. This revision was landed with ongoing or failed builds.Jun 1 2021, 11:37 AM Closed by commit rG6b8bf9494c46: [flang][openacc] Enforce restriction on attach and detach variables (authored by clementval). · Explain Why This revision was automatically updated to reflect the committed changes. clementval marked an inline comment as done.
Revision Contents
Diff 348364 flang/lib/Semantics/resolve-directives.cpp
flang/test/Semantics/OpenACC/acc-data.f90
flang/test/Semantics/OpenACC/acc-kernels-loop.f90
flang/test/Semantics/OpenACC/acc-kernels.f90
flang/test/Semantics/OpenACC/acc-parallel.f90
flang/test/Semantics/OpenACC/acc-serial.f90
|
Nit: Would it be better to say the Argument %s instead of Variable %s since variable again occurs in the message?