This is an archive of the discontinued LLVM Phabricator instance.

[flang] Allow pointer association between derived-type pointer and unlimited polymorphic target
ClosedPublic

Authored by clementval on Jan 19 2023, 5:08 AM.

Details

Summary

Pointer association to unlimited polymorphic target is allowed for
unlimited polymorphic pointer and non-extensible derived-type.
This is checked by the semantic and this patch allows it in the
fir.rebox operation.

Diff Detail

Event Timeline

clementval created this revision.Jan 19 2023, 5:08 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 19 2023, 5:08 AM
clementval requested review of this revision.Jan 19 2023, 5:08 AM
jeanPerier accepted this revision.Jan 19 2023, 5:47 AM

Funny Fortran feature, LGTM.

This revision is now accepted and ready to land.Jan 19 2023, 5:47 AM
PeteSteinfeld accepted this revision.Jan 19 2023, 6:34 AM

All builds and tests correctly and looks good.

This revision was landed with ongoing or failed builds.Jan 19 2023, 8:34 AM
This revision was automatically updated to reflect the committed changes.