[flang-commits] [flang] [flang][runtime] Ensure that the anonymous unit returned by LookUpOrCreateAnonymous has been opened. (PR #74468)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Tue Dec 5 06:09:18 PST 2023
================
@@ -52,6 +53,9 @@ ExternalFileUnit *ExternalFileUnit::LookUpOrCreate(
ExternalFileUnit *ExternalFileUnit::LookUpOrCreateAnonymous(int unit,
Direction dir, std::optional<bool> isUnformatted,
const Terminator &terminator) {
+ // Make sure that the returned anonymous unit has been opened
+ // not just created in the unitmap.
----------------
klausler wrote:
`unitMap`
https://github.com/llvm/llvm-project/pull/74468
More information about the flang-commits
mailing list