[flang] Pass box address for bind(c) assumed type dummy argument
authorValentin Clement <clementval@gmail.com>
Fri, 17 Mar 2023 16:58:15 +0000 (17:58 +0100)
committerValentin Clement <clementval@gmail.com>
Fri, 17 Mar 2023 16:58:53 +0000 (17:58 +0100)
commit49d718db86aa69eb63cb782024bdf39524557c5d
tree1799fbe6927ab25e89b480eb664b13e184f24d65
parent2a76429778768ed29404f0396194636e2bc11b90
[flang] Pass box address for bind(c) assumed type dummy argument

When interfacing with C code, assumed type should be passed as
basic pointer.

Reviewed By: PeteSteinfeld

Differential Revision: https://reviews.llvm.org/D146300
flang/lib/Lower/CallInterface.cpp
flang/test/Lower/polymorphic-types.f90