[all-commits] [llvm/llvm-project] d84faa: [flang] Ignore FINAL subroutines with mismatching ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Mar 10 08:53:37 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d84faa428ef05436ea8b5fdbbab9e9b9c0a12985
      https://github.com/llvm/llvm-project/commit/d84faa428ef05436ea8b5fdbbab9e9b9c0a12985
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-03-10 (Fri, 10 Mar 2023)

  Changed paths:
    M flang/include/flang/Evaluate/tools.h
    M flang/include/flang/Semantics/tools.h
    M flang/lib/Evaluate/tools.cpp
    M flang/lib/Evaluate/type.cpp
    M flang/lib/Semantics/check-call.cpp
    M flang/lib/Semantics/definable.cpp
    M flang/lib/Semantics/runtime-type-info.cpp
    M flang/lib/Semantics/tools.cpp
    M flang/lib/Semantics/type.cpp
    M flang/test/Semantics/call03.f90
    A flang/test/Semantics/final03.f90

  Log Message:
  -----------
  [flang] Ignore FINAL subroutines with mismatching type parameters

When a parameterized derived type has FINAL subroutines, only
those FINAL subroutines whose dummy argument's type matches the
type parameter values of a particular instantiation are relevant
to that instantiation.

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




More information about the All-commits mailing list