[all-commits] [llvm/llvm-project] 51dc52: [flang] Catch more defined I/O conflicts (#129115)

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Feb 27 16:16:56 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51dc52631c7b0f69f84ff558ce872f1e080d338a
      https://github.com/llvm/llvm-project/commit/51dc52631c7b0f69f84ff558ce872f1e080d338a
  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/Lower/io-derived-type.f90
    M flang/test/Semantics/io11.f90

  Log Message:
  -----------
  [flang] Catch more defined I/O conflicts (#129115)

The code that checks for conflicts between type-bound defined I/O
generic procedures and non-type-bound defined I/O interfaces only works
when then procedures are defined in the same module as subroutines. It
doesn't catch conflicts when either are external procedures, procedure
pointers, dummy procedures, &c. Extend the checking to cover those cases
as well.

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



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