[all-commits] [llvm/llvm-project] ccc573: [flang][runtime] When OPEN implies CLOSE, disable ...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Tue Oct 31 10:25:42 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ccc573c6d821b010217d0621fd271c0a7972ccba
https://github.com/llvm/llvm-project/commit/ccc573c6d821b010217d0621fd271c0a7972ccba
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2023-10-31 (Tue, 31 Oct 2023)
Changed paths:
M flang/runtime/io-stmt.cpp
M flang/runtime/unit.cpp
M flang/runtime/unit.h
Log Message:
-----------
[flang][runtime] When OPEN implies CLOSE, disable later extant unit c… (#69390)
…hecks
An OPEN statement on an existing unit can imply a CLOSE of that unit;
for example, OPEN(5, FILE="mydata", FORM="formatted") should implicitly
close the standard input that had been preconnected to unit 5. When this
happens, later checks in OPEN statement completion that apply only to
existing units should be disabled.
More information about the All-commits
mailing list