[all-commits] [llvm/llvm-project] 1fe7a1: [flang][runtime] Don't emit empty lines for bad wr...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Apr 15 20:32:49 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1fe7a187ae9994dc722e8ccfc9132d88201e8519
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-04-15 (Fri, 15 Apr 2022)

  Changed paths:
    M flang/runtime/unit.cpp

  Log Message:
  [flang][runtime] Don't emit empty lines for bad writes

When an error occurs in a formatted sequential output statement
and no output was ever emitted, don't emit a blank record.
This matches the error case behavior of other Fortran compilers.

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

More information about the All-commits mailing list