[flang-commits] [PATCH] D107917: [flang] Fix list-directed plural repeated null values at end of record

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Aug 11 10:26:31 PDT 2021


klausler created this revision.
klausler added a reviewer: PeteSteinfeld.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
klausler requested review of this revision.

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.


https://reviews.llvm.org/D107917

Files:
  flang/runtime/io-stmt.cpp
  flang/runtime/io-stmt.h
  flang/unittests/Runtime/ListInputTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107917.365792.patch
Type: text/x-patch
Size: 5283 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20210811/e0770d75/attachment.bin>


More information about the flang-commits mailing list