[all-commits] [llvm/llvm-project] cdfb95: [flang] Add checks for misuse of formatted I/O API...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Oct 1 09:58:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cdfb95ad580fbf366a9bffc5082df22e9d2b5fa3
      https://github.com/llvm/llvm-project/commit/cdfb95ad580fbf366a9bffc5082df22e9d2b5fa3
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2020-10-01 (Thu, 01 Oct 2020)

  Changed paths:
    M flang/runtime/io-api.cpp
    M flang/runtime/io-api.h
    M flang/runtime/io-stmt.h
    M flang/runtime/type-code.cpp
    M flang/runtime/unit.cpp

  Log Message:
  -----------
  [flang] Add checks for misuse of formatted I/O APIs in unformatted I/O statement

Add checking to I/O statement APIs to catch cases where the formatted
I/O data item transfer routines like OutputInteger64 are being
incorrectly used for unformatted I/O, which should use the
unformatted block or descriptor-based data item interfaces.

Differential revision: https://reviews.llvm.org/D88672




More information about the All-commits mailing list