This is an archive of the discontinued LLVM Phabricator instance.

[flang] Handle type generation for unlimited polymorphic function result
ClosedPublic

Authored by clementval on Dec 13 2022, 2:15 AM.

Details

Summary

An unlimited polymorphic entity is considered to have a derived category
in its dynamic type but no type descriptor. Avoid a nullptr dereference when
an unlimited polymorphic type needs to be generated.

Diff Detail

Event Timeline

clementval created this revision.Dec 13 2022, 2:15 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptDec 13 2022, 2:15 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Dec 13 2022, 2:15 AM
PeteSteinfeld edited the summary of this revision. (Show Details)Dec 13 2022, 5:35 AM
PeteSteinfeld accepted this revision.Dec 13 2022, 5:44 AM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Dec 13 2022, 5:44 AM