[Flang][OpenMP] Issue error for assumed-size array in Map clause
authorKiran Chandramohan <kiran.chandramohan@arm.com>
Wed, 29 Mar 2023 16:07:23 +0000 (16:07 +0000)
committerKiran Chandramohan <kiran.chandramohan@arm.com>
Wed, 29 Mar 2023 16:20:50 +0000 (16:20 +0000)
commit38e465686c61c581b37f13418ba3e83a1aedc278
tree992409b420a454d79de72a26c15511c85d583a5a
parent16672dba5f05172ce62b609f93a5fc254e37ec4d
[Flang][OpenMP] Issue error for assumed-size array in Map clause

Error only applies if it is a whole array. Page 157 in OpenMP 5.2
standard.

Reviewed By: TIFitis

Differential Revision: https://reviews.llvm.org/D147142
flang/lib/Semantics/resolve-directives.cpp
flang/test/Semantics/OpenMP/map-clause.f90 [new file with mode: 0644]