[all-commits] [llvm/llvm-project] 2b0b9b: [flang] Modify right modes for READ/WRITE vs OPEN

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Feb 2 13:48:06 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b0b9b2e836fffa920598ddcde326c2446127c42
      https://github.com/llvm/llvm-project/commit/2b0b9b2e836fffa920598ddcde326c2446127c42
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-02-02 (Wed, 02 Feb 2022)

  Changed paths:
    M flang/runtime/io-api.cpp

  Log Message:
  -----------
  [flang] Modify right modes for READ/WRITE vs OPEN

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.

Differential Revision: https://reviews.llvm.org/D118835




More information about the All-commits mailing list