[all-commits] [llvm/llvm-project] aac6e2: [flang][runtime] Signal record read overrun when P...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Apr 22 16:58:44 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aac6e25f7d3cbed7a734c2419f3d8c0c76461ba6
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-04-22 (Fri, 22 Apr 2022)

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

  Log Message:
  [flang][runtime] Signal record read overrun when PAD='NO'

When PAD='NO' and ADVANCE='YES', we currently signal an input
error when a formatted read tries to go past the end of a record
only when a fixed RECL= is in effect.  Other compilers will signal
an error without RECL= too, and that seems like a precedent we
should follow.

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

More information about the All-commits mailing list