This is an archive of the discontinued LLVM Phabricator instance.

[flang][runtime] Handle READ of non-UTF-8 data into multi-byte CHARACTER
ClosedPublic

Authored by klausler on Jun 22 2022, 3:37 PM.

Details

Summary

When a READ statement reads into a CHARACTER(2 or 4) variable from a
unit whose encoding is not UTF-8, don't copy bytes directly; they must
each be zero-extended.

Diff Detail

Event Timeline

klausler created this revision.Jun 22 2022, 3:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 22 2022, 3:37 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Jun 22 2022, 3:37 PM
vdonaldson accepted this revision.Jun 22 2022, 4:28 PM
This revision is now accepted and ready to land.Jun 22 2022, 4:28 PM