[flang] Fix generic resolution case
authorpeter klausler <pklausler@nvidia.com>
Tue, 19 Oct 2021 18:34:57 +0000 (11:34 -0700)
committerpeter klausler <pklausler@nvidia.com>
Fri, 22 Oct 2021 20:38:47 +0000 (13:38 -0700)
commit14b90d1fe0d79c8adbe8531ebc79199a8892a781
tree766027577c45969b4cef4f16bcb30a51e93a6599
parentb8452dba28e7449d0b1e47b5341ddf0bef55be68
[flang] Fix generic resolution case

Don't try to convert INTEGER argument expressions to the kind of
the dummy argument when performing generic resolution; specific
procedures may be distinguished only by their kinds.

Differential Revision: https://reviews.llvm.org/D112240
flang/docs/Extensions.md
flang/lib/Semantics/check-call.cpp
flang/lib/Semantics/check-call.h
flang/lib/Semantics/expression.cpp