HomePhabricator

[flang] Fix descriptor-based array data item I/O for list-directed CHARACTER &…

Authored by klausler on Sep 30 2020, 12:43 PM.

Description

[flang] Fix descriptor-based array data item I/O for list-directed CHARACTER & LOGICAL

These types have to distinguish list-directed I/O from formatted I/O,
and the subscript incrementation call was in the formatted branch
of the if() rather than after the if().

Differential revision: https://reviews.llvm.org/D88606