[flang] Handle polymorphic value when creating temporary
authorValentin Clement <clementval@gmail.com>
Wed, 30 Nov 2022 08:58:27 +0000 (09:58 +0100)
committerValentin Clement <clementval@gmail.com>
Wed, 30 Nov 2022 08:58:57 +0000 (09:58 +0100)
commitb9e53b96e0139c6dfc2797c5bba4c26977a3f011
treeaff7fc290572c75bd88997880a61b5cdd06a9246
parent0aedf9d7141fcae75956c651f1c2474db6862350
[flang] Handle polymorphic value when creating temporary

Reviewed By: PeteSteinfeld

Differential Revision: https://reviews.llvm.org/D138921
flang/lib/Lower/ConvertExpr.cpp
flang/test/Lower/polymorphic.f90