[flang-commits] [PATCH] D131107: [flang][runtime] Support internal I/O to CHARACTER(KIND/=1)
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Wed Aug 3 13:11:05 PDT 2022
klausler created this revision.
klausler added a reviewer: vdonaldson.
klausler added a project: Flang.
Herald added subscribers: jdoerfert, kristof.beyls.
Herald added a project: All.
klausler requested review of this revision.
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.
https://reviews.llvm.org/D131107
Files:
flang/lib/Semantics/check-io.cpp
flang/runtime/connection.h
flang/runtime/edit-input.cpp
flang/runtime/edit-output.cpp
flang/runtime/emit-encoded.h
flang/runtime/format-implementation.h
flang/runtime/format.h
flang/runtime/internal-unit.cpp
flang/runtime/internal-unit.h
flang/runtime/io-stmt.cpp
flang/runtime/io-stmt.h
flang/runtime/namelist.cpp
flang/test/Semantics/io03.f90
flang/unittests/Runtime/Format.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131107.449763.patch
Type: text/x-patch
Size: 51587 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220803/79e3c31e/attachment-0001.bin>
More information about the flang-commits
mailing list