[all-commits] [llvm/llvm-project] e093cb: [flang] Runtime: Reset list-directed input state f...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Jul 23 18:21:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e093cbb7ae1448379cad5520db5dfa5cf0b06bdf
      https://github.com/llvm/llvm-project/commit/e093cbb7ae1448379cad5520db5dfa5cf0b06bdf
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-07-23 (Fri, 23 Jul 2021)

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

  Log Message:
  -----------
  [flang] Runtime: Reset list-directed input state for each NAMELIST item

NAMELIST I/O formatting uses the runtime infrastructure for
list-directed I/O.  List-directed input processing has same state
that requires reinitialization for each successive NAMELIST input
item.  This patch fixes bugs with "null" items and repetition counts
on NAMELIST input items after the first in the group.

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




More information about the All-commits mailing list