[all-commits] [llvm/llvm-project] f19b80: [flang] Extend error checking for implicit interfa...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Aug 29 07:49:31 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f19b807a23628776895cfc02f4a29385c4c3b72f
      https://github.com/llvm/llvm-project/commit/f19b807a23628776895cfc02f4a29385c4c3b72f
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-08-29 (Fri, 29 Aug 2025)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp
    A flang/test/Semantics/global02.f90

  Log Message:
  -----------
  [flang] Extend error checking for implicit interfaces (#155473)

When an external procedure is called by means of an implicit interface
that turns out to be different in a significant way from the actual
interface in its definition elsewhere in the source file, we emit an
error message. This works for differences in actual vs dummy arguments,
and for the result types of previously declared functions. This patch
adds checking for differences between implicitly typed external function
references and their actual declared types when the function's
definition appears later.



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