[all-commits] [llvm/llvm-project] fce294: [flang] Fix bogus error on defined I/O procedure. ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Feb 27 14:29:21 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fce29486ac109fbf8b543c24c763703839278457
      https://github.com/llvm/llvm-project/commit/fce29486ac109fbf8b543c24c763703839278457
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-02-27 (Thu, 27 Feb 2025)

  Changed paths:
    M flang/lib/Semantics/check-declarations.cpp
    M flang/test/Semantics/io11.f90

  Log Message:
  -----------
  [flang] Fix bogus error on defined I/O procedure. (#125898)

The check that "v_list" be deferred shape is just wrong; there are no
deferred shape non-pointer non-allocatable dummy arguments in Fortran.
Correct to check for an assumed shape dummy argument. And de-split the
error messages that were split across multiple source lines, making them
much harder to find with grep.

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



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