[all-commits] [llvm/llvm-project] bf9585: [flang] EOF goes to ERR= in READ(..., REC=) (#122608)

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Jan 14 12:58:38 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bf95854e9ab1209901603d8f9edba4328eed6689
      https://github.com/llvm/llvm-project/commit/bf95854e9ab1209901603d8f9edba4328eed6689
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-01-14 (Tue, 14 Jan 2025)

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

  Log Message:
  -----------
  [flang] EOF goes to ERR= in READ(..., REC=) (#122608)

A direct access READ that tries to read past the end of the file must
recover the error via an ERR= label, not an END= label (which is not
allowed to be present).

Fixes https://github.com/llvm/llvm-project/issues/122150.



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