[all-commits] [llvm/llvm-project] 9772db: [flang] Set right "inNamelist" flag

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Feb 2 09:33:37 PST 2022


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

  Changed paths:
    M flang/runtime/io-stmt.h
    M flang/runtime/namelist.cpp

  Log Message:
  -----------
  [flang] Set right "inNamelist" flag

NAMELIST I/O was inconsistent in its choice of which set of I/O modes
to set the "inNamelist" flag.  The wrong choice was in the set of modes
that are part of the persistent state of an I/O connection; the right
place is the set of modes that are reinitialized at the beginning of
each I/O statement so that they can be modified by READ/WRITE control
list specifiers and FORMAT control edit descriptors.  Fix.

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




More information about the All-commits mailing list