[all-commits] [llvm/llvm-project] e29c9d: [flang] Fix WRITE after BACKSPACE

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Oct 1 10:34:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e29c9d77f128e7ef9b2b5f8f09fb06b01a9dad3a
      https://github.com/llvm/llvm-project/commit/e29c9d77f128e7ef9b2b5f8f09fb06b01a9dad3a
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2020-10-01 (Thu, 01 Oct 2020)

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

  Log Message:
  -----------
  [flang] Fix WRITE after BACKSPACE

A WRITE to an unformatted sequential variable-length unit after
a BACKSPACE needs to forget its previous knowledge of the length
of the record that's about to be overwritten, and a BACKSPACE
after an ENDFILE or at the start of the file needs to be a no-op.

Differential revision: https://reviews.llvm.org/D88675




More information about the All-commits mailing list