[flang] Downgrade inappropriate error message to a warning
authorpeter klausler <pklausler@nvidia.com>
Fri, 27 Aug 2021 20:38:06 +0000 (13:38 -0700)
committerpeter klausler <pklausler@nvidia.com>
Tue, 31 Aug 2021 18:28:42 +0000 (11:28 -0700)
commitb4c86525fdc33c9220a0234cb022d408749fe61c
tree33278d5fbdebc67c8342c7c1c19281585282e496
parente9b3f2573090a2fb9494975e4615f77b898e36a3
[flang] Downgrade inappropriate error message to a warning

It may not be great practice to pass a procedure (or procedure pointer)
with an implicit interface as an actual argument to correspond with
a dummy procedure (pointer), but it's not an error.  Change to a
warning, and modify tests accordingly.

Differential Revision: https://reviews.llvm.org/D108932
flang/lib/Semantics/check-call.cpp
flang/test/Semantics/call09.f90
flang/test/Semantics/call21.f90 [new file with mode: 0644]