summaryrefslogtreecommitdiff
path: root/mlir/test/python/lib/PythonTestDialect.cpp
diff options
context:
space:
mode:
authorpeter klausler <pklausler@nvidia.com>2021-10-22 12:22:42 -0700
committerpeter klausler <pklausler@nvidia.com>2021-10-22 15:48:45 -0700
commitce71f8e01742598f9f0b563d259561e755e1cbce (patch)
treec84df41889b05487322515685765ca87ac1ccdd5 /mlir/test/python/lib/PythonTestDialect.cpp
parentbf6f955f393f9922ac743ff2055bf867a7a071ae (diff)
[flang] Fix crash on empty formatted external READs
ExternalFileUnit::BeginReadingRecord() must be called at least once during an external formatted READ statement before FinishReadingRecord(). In the case of a formatted external READ with no data items, the call to finish processing of the format (which might have lingering control items that need doing) was taking place before the call to BeginReadingRecord from ExternalIoStatementState::EndIoStatement. Add a call to BeginReadingRecord on this path. Differential Revision: https://reviews.llvm.org/D112351
Diffstat (limited to 'mlir/test/python/lib/PythonTestDialect.cpp')
0 files changed, 0 insertions, 0 deletions