[flang-commits] [PATCH] D127035: [flang][runtime] Catch OPEN of connected file

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri Jun 3 16:13:45 PDT 2022


klausler created this revision.
klausler added a reviewer: vdonaldson.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a project: All.
klausler requested review of this revision.

Diagnose OPEN(FILE=f) when f is already connected by the same name to
a distinct external I/O unit.


https://reviews.llvm.org/D127035

Files:
  flang/include/flang/Runtime/iostat.h
  flang/runtime/file.cpp
  flang/runtime/file.h
  flang/runtime/io-api.cpp
  flang/runtime/iostat.cpp
  flang/runtime/unit-map.cpp
  flang/runtime/unit-map.h
  flang/runtime/unit.cpp
  flang/runtime/unit.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127035.434195.patch
Type: text/x-patch
Size: 5964 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220603/672faab8/attachment.bin>


More information about the flang-commits mailing list