This is an archive of the discontinued LLVM Phabricator instance.

[flang] Allow non polymorphic pointer assignment with polymorphic rhs
ClosedPublic

Authored by clementval on Nov 30 2022, 3:26 AM.

Details

Summary

Remove the TODO and allow pointer assignment with non
polymorphic entity on the lhs. The assignment follow the same scheme
as derived-type pointer assignment to parent component.

Diff Detail

Event Timeline

clementval created this revision.Nov 30 2022, 3:26 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptNov 30 2022, 3:26 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Nov 30 2022, 3:26 AM
jeanPerier accepted this revision.Nov 30 2022, 5:52 AM

Looks good

This revision is now accepted and ready to land.Nov 30 2022, 5:52 AM