[flang-commits] [PATCH] D101929: [flang] Runtime must defer formatted/unformatted determination

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed May 5 11:34:34 PDT 2021


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

What the Fortran standard calls "preconnected" external I/O units
might not be known to be connected to unformatted or formatted files
until the first I/O data transfer statement is executed.
Support this deferred determination by representing the flag as
a tri-state Boolean and adapting its points of use.


https://reviews.llvm.org/D101929

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101929.343122.patch
Type: text/x-patch
Size: 12953 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20210505/49e9e2e9/attachment-0001.bin>


More information about the flang-commits mailing list