It is an error to open a new unit with OPEN(NEWUNIT=) and have
neither a file name nor a scratch status. Catch it, and report a
new error code.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D155967
[flang][runtime] Detect NEWUNIT= without FILE= or STATUS='SCRATCH' ClosedPublic Authored by klausler on Jul 21 2023, 8:27 AM.
Details Summary It is an error to open a new unit with OPEN(NEWUNIT=) and have
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 21 2023, 9:12 AM Closed by commit rGafdbf1b731ef: [flang][runtime] Detect NEWUNIT= without FILE= or STATUS='SCRATCH' (authored by klausler). · Explain WhyJul 21 2023, 1:13 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 543037 flang/include/flang/Runtime/iostat.h
flang/runtime/io-api.cpp
flang/runtime/io-stmt.h
flang/runtime/io-stmt.cpp
flang/runtime/iostat.cpp
|