[all-commits] [llvm/llvm-project] 142db4: [flang][runtime] Allow recovery from BACKSPACE(bad...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Jun 15 13:01:13 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 142db43b626c0186302327598c7bef615efb564c
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-06-15 (Wed, 15 Jun 2022)

  Changed paths:
    M flang/include/flang/Runtime/iostat.h
    M flang/runtime/io-api.cpp
    M flang/runtime/io-stmt.cpp
    M flang/runtime/io-stmt.h
    M flang/runtime/iostat.cpp
    M flang/runtime/unit.cpp
    M flang/runtime/unit.h

  Log Message:
  [flang][runtime] Allow recovery from BACKSPACE(badUnit)

When an unconnected unit number is used in a BACKSPACE statement
with ERR=, IOSTAT=, &/or IOMSG= control specifiers, don't crash,
but let the program deal with the error.

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

More information about the All-commits mailing list