[flang-commits] [PATCH] D145751: [flang][runtime] Corrections to formatted child I/O

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Mar 9 16:37:57 PST 2023


klausler created this revision.
klausler added a reviewer: clementval.
klausler added a project: Flang.
Herald added subscribers: sunshaoce, jdoerfert.
Herald added a reviewer: sscalpone.
Herald added a project: All.
klausler requested review of this revision.

A handful of I/O statements (OPEN, CLOSE, positioning) are not allowed
on units during child I/O; catch violations and report errors. 
Also finesse error handling during FORMAT runtime parsing of DT
derived type edit descriptors, and ensure that formatted child
I/O is nonadvancing.


https://reviews.llvm.org/D145751

Files:
  flang/include/flang/Runtime/iostat.h
  flang/runtime/descriptor-io.cpp
  flang/runtime/format-implementation.h
  flang/runtime/format.h
  flang/runtime/io-api.cpp
  flang/runtime/io-error.cpp
  flang/runtime/iostat.cpp
  flang/runtime/unit.h
  flang/unittests/Runtime/Format.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145751.503976.patch
Type: text/x-patch
Size: 16199 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230310/602e0813/attachment-0001.bin>


More information about the flang-commits mailing list