[all-commits] [llvm/llvm-project] 199a62: [flang] Runtime must defer formatted/unformatted d...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu May 6 11:07:11 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 199a623ebf808a01e920ebd9904c99e633c33a1f
      https://github.com/llvm/llvm-project/commit/199a623ebf808a01e920ebd9904c99e633c33a1f
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-05-06 (Thu, 06 May 2021)

  Changed paths:
    M flang/runtime/connection.h
    M flang/runtime/io-api.cpp
    M flang/runtime/io-stmt.cpp
    M flang/runtime/unit.cpp
    M flang/runtime/unit.h

  Log Message:
  -----------
  [flang] Runtime must defer formatted/unformatted determination

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.

Differential Revision: https://reviews.llvm.org/D101929




More information about the All-commits mailing list