[flang-commits] [PATCH] D118835: [flang] Modify right modes for READ/WRITE vs OPEN

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Feb 2 11:19:50 PST 2022


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

When a mode flag is modified (e.g., BLANK='ZERO') in an I/O data transfer
statement, ensure that the right set of mode flags is modified.
There's one set of mode flags that are captured by an OPEN
statement and maintained in the connection, and another that
is maintained in an I/O statement state record for local mutability.
Some I/O API routines were unconditionally modifying the persistent
set of flags.


https://reviews.llvm.org/D118835

Files:
  flang/runtime/io-api.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118835.405373.patch
Type: text/x-patch
Size: 4498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220202/a1e0d651/attachment.bin>


More information about the flang-commits mailing list