[flang] runtime: fix formatted real input regression w/ spaces
authorpeter klausler <pklausler@nvidia.com>
Wed, 29 Sep 2021 17:19:21 +0000 (10:19 -0700)
committerpeter klausler <pklausler@nvidia.com>
Mon, 4 Oct 2021 23:46:42 +0000 (16:46 -0700)
commitf63dafebf4e9f5dec6ad58cf238bd4eb71d34698
treeca05fbe87f6d4e24badf0597f744b623780de1f6
parent95f824ad7c2da1e8142dbade4e4e12f389f1eb78
[flang] runtime: fix formatted real input regression w/ spaces

Blank input fields must be interpreted as zero, including the case of
virutal space characters generated from record padding at the end of
an input record.  This stopped working sometime in the past few months
for real input (not sure when); here's a fix.

This bug was breaking FCVS test fm111.

Differential Revision: https://reviews.llvm.org/D110765
flang/runtime/edit-input.cpp