[all-commits] [llvm/llvm-project] d879ac: [flang] Defer "next input record" processing until...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Aug 3 16:47:53 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d879ac8a6eef683392a02dd0aa62c69d61b894eb
      https://github.com/llvm/llvm-project/commit/d879ac8a6eef683392a02dd0aa62c69d61b894eb
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2020-08-03 (Mon, 03 Aug 2020)

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

  Log Message:
  -----------
  [flang] Defer "next input record" processing until handlers established

External input was detecting "end of file" conditions in
BeginExternal...Input() and BeginUnformattedInput() routines
before EnableHandlers() could have been called.  Defer the
"start next record" processing to the input data item
handlers (and EndIoStatement() for when there are no data
items).

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




More information about the All-commits mailing list