[flang-commits] [PATCH] D144234: [flang][runtime] Support DT edit descriptor in result of READ(SIZE=)

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Feb 16 16:37:25 PST 2023


klausler created this revision.
klausler added a reviewer: clementval.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a project: All.
klausler requested review of this revision.

When a formatted I/O READ statement processes a DT edit descriptor to call a
user-defined I/O subroutine to read a derived type data item, all of the
characters that that subroutine reads via child I/O count as charecters
read by an edit descriptor and should accumulate in the result returned
by a SIZE= item in the original READ statement's control list.


https://reviews.llvm.org/D144234

Files:
  flang/runtime/connection.h
  flang/runtime/descriptor-io.cpp
  flang/runtime/internal-unit.cpp
  flang/runtime/internal-unit.h
  flang/runtime/io-stmt.cpp
  flang/runtime/io-stmt.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144234.498192.patch
Type: text/x-patch
Size: 6099 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230217/094c0e6b/attachment-0001.bin>


More information about the flang-commits mailing list