This is an archive of the discontinued LLVM Phabricator instance.

[flang] Don't drop format string for external child I/O
ClosedPublic

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

Details

Summary

In user-defined derived type I/O to an external unit, don't
omit the format string from the constructor of ChildFormattedIoStatement.
And include any user IOMSG text in the crash message of the
parent, if it doesn't catch errors.

Diff Detail

Event Timeline

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

All builds, tests, and looks good.

This revision is now accepted and ready to land.Jan 21 2022, 10:54 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJan 22 2022, 9:01 AM