This is an archive of the discontinued LLVM Phabricator instance.

[flang][runtime] Don't emit empty lines for bad writes
ClosedPublic

Authored by klausler on Apr 13 2022, 1:24 PM.

Details

Summary

When an error occurs in a formatted sequential output statement
and no output was ever emitted, don't emit a blank record.
This matches the error case behavior of other Fortran compilers.

Diff Detail

Event Timeline

klausler created this revision.Apr 13 2022, 1:24 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 13 2022, 1:24 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Apr 13 2022, 1:24 PM
vdonaldson accepted this revision.Apr 13 2022, 3:43 PM
This revision is now accepted and ready to land.Apr 13 2022, 3:43 PM
This revision was automatically updated to reflect the committed changes.