[all-commits] [llvm/llvm-project] c94f78: [flang][runtime] Support READ after WRITE w/o posi...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Dec 11 12:56:48 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c94f7804877ed39a67d58efa27ea190170d30bc3
      https://github.com/llvm/llvm-project/commit/c94f7804877ed39a67d58efa27ea190170d30bc3
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2023-12-11 (Mon, 11 Dec 2023)

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

  Log Message:
  -----------
  [flang][runtime] Support READ after WRITE w/o positioning (#74650)

Most Fortran implementations support a READ statement after a WRITE
without repositioning on a sequential unit; it implies on ENDFILE and
then hits an EOF condition.

Fixes llvm-test-suite/Fortran/gfortran/regression/backspace_2.f.




More information about the All-commits mailing list