[all-commits] [llvm/llvm-project] 341c7c: [flang][runtime] Improve Fortran I/O behavior when...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Aug 18 14:11:11 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 341c7c05df87394ac23842a0c27889b11a625058
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-08-18 (Thu, 18 Aug 2022)

  Changed paths:
    M flang/runtime/file.cpp
    M flang/runtime/unit.cpp
    M flang/runtime/unit.h

  Log Message:
  [flang][runtime] Improve Fortran I/O behavior when main program is C/C++

Ensure that I/O buffers are flushed at the end of the program,
and properly detect ttys for predefined units so that Fortran
output is interspersed with output from non-Fortran code.

Fixes https://github.com/llvm/llvm-project/issues/56944

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

Update: fix typo in comment

More information about the All-commits mailing list