[all-commits] [llvm/llvm-project] 9ddd07: [flang] Handle FLUSH(unknown unit)

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Jan 20 15:38:44 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ddd07922f65ec7b633228b8b71076031355937e
      https://github.com/llvm/llvm-project/commit/9ddd07922f65ec7b633228b8b71076031355937e
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-01-20 (Thu, 20 Jan 2022)

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

  Log Message:
  -----------
  [flang] Handle FLUSH(unknown unit)

The unit number passed to a FLUSH statement is not required to
be a valid open unit; nothing happens (esp. not the creation of
an empty fort.n file) in this case.

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




More information about the All-commits mailing list