[all-commits] [llvm/llvm-project] a8f2d1: [flang][runtime] Resilient opening of anonymous un...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jun 3 14:24:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8f2d185b252e9a4b5676d29194d78eaf14ed219
      https://github.com/llvm/llvm-project/commit/a8f2d185b252e9a4b5676d29194d78eaf14ed219
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M flang/runtime/external-unit.cpp
    M flang/runtime/file.cpp
    M flang/runtime/io-api-common.h
    M flang/runtime/pseudo-unit.cpp
    M flang/runtime/unit.h

  Log Message:
  -----------
  [flang][runtime] Resilient opening of anonymous unit (#93876)

When an I/O statement references a unit number that has not been
explicitly opened or predefined, the I/O runtime support library opens a
local "fort.N" file. If this fails, the program crashes, even when the
I/O statement has IOSTAT= or IOMSG= or ERR= control list items. Connect
the dots to enable resilience in these cases.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list