This is an archive of the discontinued LLVM Phabricator instance.

[flang][runtime] Don't crash after reporting I/O statement errors
ClosedPublic

Authored by klausler on Jun 9 2022, 12:08 PM.

Details

Summary

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.

Diff Detail

Event Timeline

klausler created this revision.Jun 9 2022, 12:08 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 9 2022, 12:08 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Jun 9 2022, 12:08 PM
vdonaldson accepted this revision.Jun 13 2022, 9:09 AM
This revision is now accepted and ready to land.Jun 13 2022, 9:09 AM