This is an archive of the discontinued LLVM Phabricator instance.

[flang] Make NEWUNIT= use a range suitable for INTEGER(KIND=1) and recycle unit numbers
ClosedPublic

Authored by klausler on Jan 31 2022, 1:36 PM.

Details

Summary

Use a bit-set to manage runtime-generated I/O unit numbers, recycle
them after they're closed, and use a range of values that fits in
a minimal-sized integer.

Diff Detail

Event Timeline

klausler created this revision.Jan 31 2022, 1:36 PM
klausler requested review of this revision.Jan 31 2022, 1:36 PM
vdonaldson accepted this revision.Jan 31 2022, 1:46 PM
This revision is now accepted and ready to land.Jan 31 2022, 1:46 PM
This revision was landed with ongoing or failed builds.Jan 31 2022, 3:20 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJan 31 2022, 3:20 PM