This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix crash from USE-associated defined I/O subprograms
ClosedPublic

Authored by klausler on Jan 21 2022, 9:21 AM.

Details

Summary

User-defined derived type I/O implementation subroutines and
generic interfaces may be USE-associated, but the code that builds
the type description table wasn't allowing for that possibility.
Add a call to GetUltimate() to cope.

Diff Detail

Event Timeline

klausler created this revision.Jan 21 2022, 9:21 AM
klausler requested review of this revision.Jan 21 2022, 9:21 AM
PeteSteinfeld accepted this revision.Jan 21 2022, 10:35 AM

All builds, tests, and looks good.

This revision is now accepted and ready to land.Jan 21 2022, 10:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 21 2022, 5:49 PM