[all-commits] [llvm/llvm-project] cd0a12: [flang] Fix "non-advancing" I/O, support $ in FORMAT

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jun 28 12:18:42 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cd0a1226b50081e86eb75a89d01e8782423971a0
      https://github.com/llvm/llvm-project/commit/cd0a1226b50081e86eb75a89d01e8782423971a0
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-06-28 (Mon, 28 Jun 2021)

  Changed paths:
    M flang/runtime/connection.h
    M flang/runtime/format-implementation.h
    M flang/runtime/format.h
    M flang/runtime/io-api.cpp
    M flang/runtime/io-stmt.cpp
    M flang/runtime/io-stmt.h
    M flang/runtime/unit-map.cpp
    M flang/runtime/unit.cpp
    M flang/runtime/unit.h

  Log Message:
  -----------
  [flang] Fix "non-advancing" I/O, support $ in FORMAT

Non-advancing I/O was failing; ExternalFileUnit was losing
track of what writes had been committed to the file.  Fixed.
Also, support the common extension of $ and \ in a FORMAT
as being equivalent to ADVANCE=NO.

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




More information about the All-commits mailing list