[all-commits] [llvm/llvm-project] 79c430: [flang][runtime] INQUIRE(UNIT=-666, EXIST=x) shoul...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Sep 18 08:39:10 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 79c430787f0c2c78f3f4b8bf877fafab6cc8c5cf
      https://github.com/llvm/llvm-project/commit/79c430787f0c2c78f3f4b8bf877fafab6cc8c5cf
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2023-09-18 (Mon, 18 Sep 2023)

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

  Log Message:
  -----------
  [flang][runtime] INQUIRE(UNIT=-666, EXIST=x) should be .FALSE. (#66239)

The runtime implementation for INQUIRE(EXIST=x) is returning .TRUE. for
all non-existent unit, which is incorrect for valid unit numbers.




More information about the All-commits mailing list