When fsource or tsource is not polymorphic, the result is not
polymorphic. Rebox the polymoprhic arguement so the dynamic
type of the result is correct.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D146133
[flang] Rebox the polymorphic argument in merge intrinsic ClosedPublic Authored by clementval on Mar 15 2023, 6:08 AM.
Details Summary When fsource or tsource is not polymorphic, the result is not
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 15 2023, 6:08 AM This revision is now accepted and ready to land.Mar 15 2023, 6:30 AM Closed by commit rG942bc18d203a: [flang] Rebox the polymorphic argument in merge intrinsic (authored by clementval). · Explain WhyMar 15 2023, 8:32 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 505503 flang/lib/Optimizer/Builder/IntrinsicCall.cpp
flang/test/Lower/polymorphic-temp.f90
|