[all-commits] [llvm/llvm-project] 8527f9: [flang][runtime] Handle BACKSPACE after reading pa...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue May 24 10:28:13 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8527f9e4437fbecb529babb674777eb2cab99ca5
      https://github.com/llvm/llvm-project/commit/8527f9e4437fbecb529babb674777eb2cab99ca5
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-05-24 (Tue, 24 May 2022)

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

  Log Message:
  -----------
  [flang][runtime] Handle BACKSPACE after reading past EOF

An external READ(END=) that hits the end of the file must
also note the virtual position of the endfile record that
has just been discovered, so that a later BACKSPACE statement
won't end up at the wrong record.

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




More information about the All-commits mailing list