[all-commits] [llvm/llvm-project] df6de2: [flang] Fix INQUIRE of access and formatting possi...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Oct 1 10:28:21 PDT 2020


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

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

  Log Message:
  -----------
  [flang] Fix INQUIRE of access and formatting possibilities

Don't give false positives from INQUIRE about possible
access mode changes on connected units.  DIRECT and SEQUENTIAL
cannot be intermixed, apart from allowing DIRECT on a SEQUENTIAL
file with fixed-size records and positioning.  Nor can
FORMATTED and UNFORMATTED be interchanged.  On unconnected
files, the best that we can do is "UNKNOWN".

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




More information about the All-commits mailing list