[flang] Strengthen conformance requirements for allocatable/pointer dummy arguments
authorPeter Klausler <pklausler@nvidia.com>
Thu, 9 Feb 2023 23:23:52 +0000 (15:23 -0800)
committerPeter Klausler <pklausler@nvidia.com>
Tue, 14 Feb 2023 17:13:19 +0000 (09:13 -0800)
commit016d5a0a0a15d8eb8c04d0bb7e4ff77406f1a42f
tree1ec2512093cc2848710ec5188ab0f6a6beb98fd5
parentd05e1e99b1d62cf1f8ab37f83dd2f377328dd9c5
[flang] Strengthen conformance requirements for allocatable/pointer dummy arguments

There's several sets of circumstances in which a scalar actual argument can be
associated with a dummy argument array in Fortran, but they apply only to "ordinary"
dummy arguments, not those that are allocatables or pointers.

Differential Revision: https://reviews.llvm.org/D143836
flang/lib/Semantics/check-call.cpp
flang/test/Semantics/call05.f90