[flang] Extend & fix per-I/O-statement state (ext. I/O work part 7)
authorpeter klausler <pklausler@nvidia.com>
Sat, 4 Jul 2020 00:57:28 +0000 (17:57 -0700)
committerpeter klausler <pklausler@nvidia.com>
Sat, 4 Jul 2020 17:49:00 +0000 (10:49 -0700)
commit45b5c79a31d05edb179efeda9305e6c42be4f818
tree4ae3e4ee841a58ed648f3dbf98f86ae21d9614dd
parent85e144329cffde852851c1bf73dd70e6a941f6ea
[flang] Extend & fix per-I/O-statement state (ext. I/O work part 7)

The per-I/O-statement state structures need to support missing
external I/O statements, and some bugs found in testing with
formatted input and record advancement are fixed.  The effects
of these changes will not be visible until further patches to
the I/O API handlers are pushed.

Reviewed By: tskeith

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