This is an archive of the discontinued LLVM Phabricator instance.

[flang][runtime] Support internal I/O to CHARACTER(KIND/=1)
ClosedPublic

Authored by klausler on Aug 3 2022, 1:11 PM.

Details

Summary

Allow internal I/O to support non-default kinds of CHARACTER.

The I/O runtime design anticipated this standard feature, but
this patch is somewhat larger than I thought it would be because
many code sites had to have assumptions about units (characters
vs. bytes) brought into harmony, and some encoding utilities
had to be pulled out of IoStatementState and templatized into
their own new header file so that they are available to formatted
output code without having to "thread" an IoStatementState reference
through many call chains.

Diff Detail

Event Timeline

klausler created this revision.Aug 3 2022, 1:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2022, 1:11 PM
klausler requested review of this revision.Aug 3 2022, 1:11 PM
vdonaldson accepted this revision.Aug 3 2022, 4:52 PM
This revision is now accepted and ready to land.Aug 3 2022, 4:52 PM