This is an archive of the discontinued LLVM Phabricator instance.

[flang][runtime] Catch & report attempts at recursive I/O
ClosedPublic

Authored by klausler on Aug 3 2022, 12:49 PM.

Details

Summary

When an I/O statement contains a function call that attempts
to perform I/O on the same unit, detect the recursive I/O
and terminate with a useful message rather than deadlocking in
the threading library.

Diff Detail

Event Timeline

klausler created this revision.Aug 3 2022, 12:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2022, 12:49 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Aug 3 2022, 12:49 PM
vdonaldson accepted this revision.Aug 3 2022, 3:58 PM
This revision is now accepted and ready to land.Aug 3 2022, 3:58 PM