[flang-commits] [PATCH] D127423: [flang][runtime] Don't crash after reporting I/O statement errors
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Thu Jun 9 12:08:22 PDT 2022
klausler created this revision.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a project: All.
klausler requested review of this revision.
When an I/O statement is known to be in a recoverable error state,
it shouldn't cause a crash later in execution because it's not in
an expected non-erroneous processing state. Add checking for the
ErroneousIoStatementState variant on paths that might otherwise
lead to runtime crashes.
https://reviews.llvm.org/D127423
Files:
flang/runtime/io-api.cpp
flang/runtime/io-stmt.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127423.435632.patch
Type: text/x-patch
Size: 16419 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220609/424744de/attachment.bin>
More information about the flang-commits
mailing list