[flang] More checking of NULL pointer actual arguments
authorpeter klausler <pklausler@nvidia.com>
Fri, 17 Sep 2021 15:19:10 +0000 (08:19 -0700)
committerpeter klausler <pklausler@nvidia.com>
Fri, 17 Sep 2021 22:35:29 +0000 (15:35 -0700)
commitbcb2591b6ca00365cb9f99efafeb3bfe8682f002
tree66f5f28d9c626785948f9b866154d33606ec9f71
parent757384abff38fa41877afe36c36a1850b60fef0f
[flang] More checking of NULL pointer actual arguments

Catch additional missing error cases for typed and untyped
NULL actual arguments to non-intrinsic procedures in cases
of explicit and implicit interfaces.

Differential Revision: https://reviews.llvm.org/D110003
flang/lib/Semantics/check-call.cpp
flang/lib/Semantics/pointer-assignment.cpp
flang/test/Semantics/null01.f90