[all-commits] [llvm/llvm-project] c105d9: [flang] Admit trailing blanks when checking I/O sp...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Jul 22 16:21:48 PDT 2022


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

  Changed paths:
    M flang/lib/Semantics/check-io.cpp
    M flang/test/Semantics/io02.f90

  Log Message:
  -----------
  [flang] Admit trailing blanks when checking I/O specifiers

Fortran specifically allows character-valued I/O specifiers
to have trailing blanks, e.g. OPEN(666,STATUS='SCRATCH ').
The runtime I/O library already handles them, but the I/O
static checks in semantics do not.

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




More information about the All-commits mailing list