[all-commits] [llvm/llvm-project] 921316: [flang][runtime] Catch & report attempts at recurs...

Peter Klausler via All-commits all-commits at lists.llvm.org
Sun Aug 7 12:53:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 921316af6e6b34d57d5e8f26f86f2bce8d034c7f
      https://github.com/llvm/llvm-project/commit/921316af6e6b34d57d5e8f26f86f2bce8d034c7f
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-08-07 (Sun, 07 Aug 2022)

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

  Log Message:
  -----------
  [flang][runtime] Catch & report attempts at recursive I/O

When an I/O statement contains a function call that attempts
to perform I/O on the same unit, detect the recursive I/O
and terminate with a useful message rather than deadlocking in
the threading library.

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




More information about the All-commits mailing list