[all-commits] [llvm/llvm-project] 7db061: [flang] INQUIRE(FILE=path, READ/READWRITE/WRITE=x)...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Aug 28 14:46:23 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7db0610c0620a50c3abd9c4d518b63f5cb61f0a8
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-08-28 (Mon, 28 Aug 2023)

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

  Log Message:
  [flang] INQUIRE(FILE=path, READ/READWRITE/WRITE=x) should be UNKNOWN when unknown

For nonexistent or inaccessible files, we're returning NO, which is
indeed true, but we should return UNKNOWN instead.

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

More information about the All-commits mailing list