[all-commits] [llvm/llvm-project] c078e4: [flang][runtime] FLUSH(bad or unconnected unit num...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Jun 23 11:09:16 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c078e464a09fa5a6df1d5b94fc862d2f9bf6b8bd
      https://github.com/llvm/llvm-project/commit/c078e464a09fa5a6df1d5b94fc862d2f9bf6b8bd
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-06-23 (Thu, 23 Jun 2022)

  Changed paths:
    M flang/include/flang/Runtime/iostat.h
    M flang/runtime/io-api.cpp
    M flang/runtime/iostat.cpp

  Log Message:
  -----------
  [flang][runtime] FLUSH(bad or unconnected unit number) is an error

Some I/O control statements are no-ops when attempted on a bad or
unconnected UNIT=, but the standard says that FLUSH is an error
in that case.

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




More information about the All-commits mailing list