[all-commits] [llvm/llvm-project] b43e08: [flang] Don't require newline at EOF in unformatte...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Jul 20 15:25:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b43e083bb6b145905cac576b728f238a692a0048
      https://github.com/llvm/llvm-project/commit/b43e083bb6b145905cac576b728f238a692a0048
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-07-20 (Tue, 20 Jul 2021)

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

  Log Message:
  -----------
  [flang] Don't require newline at EOF in unformatted sequential runtime input

F18 was sigalling an end-of-file error condition when reading an
unformatted sequential input file without an ultimate newline
(or CR-LF). Other Fortran implementations can handle it, so change
the runtime to support it.

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




More information about the All-commits mailing list