This is an archive of the discontinued LLVM Phabricator instance.

[flang][runtime] Don't pad CHARACTER input at end of record unless PAD='YES'
ClosedPublic

Authored by klausler on May 5 2022, 3:41 PM.

Details

Summary

When formatted CHARACTER input runs into the end of an input record,
the runtime usually fills the remainder of the variable with spaces,
but this should be conditional, and not done when PAD='NO'.

And while here, add some better comments to two members of connection.h
to make their non-obvious relationship more clear.

Diff Detail

Event Timeline

klausler created this revision.May 5 2022, 3:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 5 2022, 3:41 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.May 5 2022, 3:41 PM
vdonaldson accepted this revision.May 5 2022, 4:15 PM
This revision is now accepted and ready to land.May 5 2022, 4:15 PM