[all-commits] [llvm/llvm-project] 39c38c: [flang] Fix list-directed plural repeated null val...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Aug 11 13:19:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39c38c21527340f2347ac318bf43bfa6d0fc318d
      https://github.com/llvm/llvm-project/commit/39c38c21527340f2347ac318bf43bfa6d0fc318d
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-08-11 (Wed, 11 Aug 2021)

  Changed paths:
    M flang/runtime/io-stmt.cpp
    M flang/runtime/io-stmt.h
    M flang/unittests/Runtime/ListInputTest.cpp

  Log Message:
  -----------
  [flang] Fix list-directed plural repeated null values at end of record

A repeated null value at the end of an input record with a count > 1
would incorrectly advance to the next record when resumed.  Fix.

Improve some poor naming and code flow noticed while debugging, so
next time will be easier.

Extend a unit test to check this case.

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




More information about the All-commits mailing list