[all-commits] [llvm/llvm-project] b03628: [flang] Emit unformatted headers & footers even wi...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Oct 22 11:07:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b03628d986d47e41187278acd2e2b66dd3dc03ae
      https://github.com/llvm/llvm-project/commit/b03628d986d47e41187278acd2e2b66dd3dc03ae
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-10-22 (Fri, 22 Oct 2021)

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

  Log Message:
  -----------
  [flang] Emit unformatted headers & footers even with RECL=

The runtime library was emitting unformatted record headers and
footers when an external unit had no fixed RECL=.  This is wrong
for sequential files, which should have headers & footers even
with RECL.  Change to omit headers & footers from unformatted
I/O only for direct access files.

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




More information about the All-commits mailing list