[flang-commits] [PATCH] D126587: [flang] Make generic resolution conform to 15.5.5.2 w/r/t host association

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri May 27 20:23:01 PDT 2022


klausler created this revision.
klausler added a reviewer: vdonaldson.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a reviewer: sscalpone.
Herald added a project: All.
klausler requested review of this revision.

When two or more generic interfaces are available by declaration or
by USE association at different scoping levels, we need to search
the outer generic interfaces as well as the inner ones, but only after
the inner ones have failed to produce a specific procedure that matches
a given set of actual arguments.  This means that it is possible for
a specific procedure of a generic interface of an inner scope to override
a conflicting specific procedure of a generic interface of an outer
scope.


https://reviews.llvm.org/D126587

Files:
  flang/include/flang/Semantics/tools.h
  flang/lib/Semantics/expression.cpp
  flang/lib/Semantics/resolve-names.cpp
  flang/lib/Semantics/tools.cpp
  flang/test/Semantics/generic01.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126587.432690.patch
Type: text/x-patch
Size: 9109 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220528/a08ce943/attachment.bin>


More information about the flang-commits mailing list