This is an archive of the discontinued LLVM Phabricator instance.

[flang][runtime] Don't do partial data transfer on short character read with ADVANCE='NO', PAD='NO'
ClosedPublic

Authored by klausler on Jul 11 2023, 11:56 AM.

Details

Summary

When a non-advancing formatted READ can't completely fill a CHARACTER
input item with data, and PAD='NO', don't modify the variable at all.
This matters when the error is recoverable.

Fixes https://github.com/llvm/llvm-project/issues/63772

Diff Detail

Event Timeline

klausler created this revision.Jul 11 2023, 11:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 11 2023, 11:56 AM
klausler requested review of this revision.Jul 11 2023, 11:56 AM
klausler edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Jul 11 2023, 12:16 PM