[all-commits] [llvm/llvm-project] 46c49e: [flang] Extend characterization & checking for pro...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Aug 9 12:02:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46c49e66d8b2173b8b0467b907fb6d6b65e5e615
      https://github.com/llvm/llvm-project/commit/46c49e66d8b2173b8b0467b907fb6d6b65e5e615
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-08-09 (Tue, 09 Aug 2022)

  Changed paths:
    M flang/include/flang/Semantics/symbol.h
    M flang/lib/Evaluate/characteristics.cpp
    M flang/lib/Semantics/check-declarations.cpp
    M flang/lib/Semantics/resolve-names.cpp
    M flang/lib/Semantics/tools.cpp
    M flang/test/Semantics/resolve20.f90

  Log Message:
  -----------
  [flang] Extend characterization & checking for procedure bindings

Procedure bindings with explicit interfaces don't work when the
interface is shadowed by a generic interface of the same name,
and can produce spurious semantic error messages.  Extend the
characterization and checking code for such things, and the utility
functionns on which they depend, to dig through generics when they
occlude interface-defining subprograms.  This is done on demand in
checking code, not once during name resolution, because the
procedures in question may also be forward-referenced.

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

diff --git a/flang/include/flang/Semantics/symbol.h b/flang/include/flang/Semantics/symbol.h
index e79f8ab6503e..0b03bf06eb73 100644
--- a/flang/include/flang/Semantics/symbol.h




More information about the All-commits mailing list