[all-commits] [llvm/llvm-project] 2a07db: [flang][runtime] Don't crash after reporting I/O s...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon Jun 13 11:25:19 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2a07db4cf60f961ae05b9febf8bcd2948ace93e3
https://github.com/llvm/llvm-project/commit/2a07db4cf60f961ae05b9febf8bcd2948ace93e3
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2022-06-13 (Mon, 13 Jun 2022)
Changed paths:
M flang/runtime/io-api.cpp
M flang/runtime/io-stmt.h
Log Message:
-----------
[flang][runtime] Don't crash after reporting I/O statement errors
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.
Differential Revision: https://reviews.llvm.org/D127423
More information about the All-commits
mailing list