This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix edge-case I/O regressions
ClosedPublic

Authored by klausler on Feb 1 2022, 11:57 AM.

Details

Summary

A blank field in an input record that exists must be interpreted
as a zero value for numeric input editing, but advancing to a
next record that doesn't exist should leave an input variable
unmodified (and signal END=). On internal output, blank fill
the "current record" array element even if nothing has been
written to it if it is the only record.

Diff Detail

Event Timeline

klausler created this revision.Feb 1 2022, 11:57 AM
klausler requested review of this revision.Feb 1 2022, 11:57 AM
vdonaldson accepted this revision.Feb 1 2022, 12:08 PM
This revision is now accepted and ready to land.Feb 1 2022, 12:08 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 1 2022, 4:27 PM