[flang-commits] [PATCH] D145741: [flang] Ignore FINAL subroutines with mismatching type parameters

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Mar 9 16:27:26 PST 2023


klausler created this revision.
klausler added a reviewer: PeteSteinfeld.
klausler added a project: Flang.
Herald added subscribers: sunshaoce, jdoerfert.
Herald added a reviewer: sscalpone.
Herald added a project: All.
klausler requested review of this revision.

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.


https://reviews.llvm.org/D145741

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145741.503966.patch
Type: text/x-patch
Size: 16084 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230310/b1dd5eeb/attachment-0001.bin>


More information about the flang-commits mailing list