[flang-commits] [PATCH] D132152: [flang][runtime] Improve Fortran I/O behavior when main program is C/C++
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Thu Aug 18 11:09:38 PDT 2022
klausler created this revision.
klausler added a reviewer: vdonaldson.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a project: All.
klausler requested review of this revision.
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
https://reviews.llvm.org/D132152
Files:
flang/runtime/file.cpp
flang/runtime/unit.cpp
flang/runtime/unit.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132152.453715.patch
Type: text/x-patch
Size: 3596 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220818/cdb9b9f2/attachment.bin>
More information about the flang-commits
mailing list