[flang] Respect left tab limit with Tn editing after ADVANCE='NO'
authorPeter Klausler <pklausler@nvidia.com>
Thu, 31 Mar 2022 23:46:02 +0000 (16:46 -0700)
committerPeter Klausler <pklausler@nvidia.com>
Thu, 14 Apr 2022 04:45:53 +0000 (21:45 -0700)
commitd2b339f17683465ecd04e905f60b93aed3502555
treeb7d5fc80d05ef2c3725bfc416879a1b8d7542c67
parent61352a580a1f8e5818a6e5445517058d959bb86f
[flang] Respect left tab limit with Tn editing after ADVANCE='NO'

Correct the implementation of non-advancing I/O after some testing
to ensure that T tab edit descriptors are not allowed to back up
into positions of a record prior to where it stood at the beginning
of the I/O statement.

Differential Revision: https://reviews.llvm.org/D123709
flang/runtime/connection.h
flang/runtime/io-stmt.cpp
flang/runtime/io-stmt.h
flang/runtime/unit.cpp
flang/runtime/unit.h