[all-commits] [llvm/llvm-project] 72831a: [flang][runtime] BACKSPACE after non-advancing I/O

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon May 9 13:08:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 72831a592edf1bdcca15354181867079a17d4f76
      https://github.com/llvm/llvm-project/commit/72831a592edf1bdcca15354181867079a17d4f76
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-05-09 (Mon, 09 May 2022)

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

  Log Message:
  -----------
  [flang][runtime] BACKSPACE after non-advancing I/O

A BACKSPACE statement on a unit after a READ or WRITE with ADVANCE="NO"
must reset the position to the beginning of the record, not to the
beginning of the previous one.

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




More information about the All-commits mailing list