[all-commits] [llvm/llvm-project] f4ecd5: [flang] More precise enforcement of runtime constr...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Apr 13 16:00:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f4ecd5a128dc74d7048711d07a658d1b91c8251f
      https://github.com/llvm/llvm-project/commit/f4ecd5a128dc74d7048711d07a658d1b91c8251f
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-04-13 (Tue, 13 Apr 2021)

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

  Log Message:
  -----------
  [flang] More precise enforcement of runtime constraint

An OPEN statement that affects an already connected unit
without changing its external file is required to have
STATUS="OLD" or default STATUS=.  The code was eliciting
spurious runtime errors in situations where an OPEN statement
pertained to an existing unit number but did not need to have
STATUS="OLD'.

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




More information about the All-commits mailing list