This is an archive of the discontinued LLVM Phabricator instance.

[flang] Implement READ(SIZE=) and INQUIRE(IOLENGTH=) in runtime
ClosedPublic

Authored by klausler on Sep 22 2021, 2:47 PM.

Details

Summary

Count input characters corresponding to formatted edit descriptors
for READ(SIZE=); count output bytes for INQUIRE(IOLENGTH=).

The I/O APIs GetSize() and GetLength() were adjusted to return
std::size_t as function results.

Basic unit tests were added (and others fixed).

Diff Detail

Event Timeline

klausler created this revision.Sep 22 2021, 2:47 PM
klausler requested review of this revision.Sep 22 2021, 2:47 PM
jeanPerier accepted this revision.Sep 23 2021, 12:57 AM
This revision is now accepted and ready to land.Sep 23 2021, 12:57 AM
This revision was landed with ongoing or failed builds.Sep 23 2021, 10:28 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptSep 23 2021, 10:28 AM