[flang-commits] [PATCH] D159034: [flang] Enable more usage of generics with forward-referenced specifics in specification parts

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Mon Aug 28 16:20:04 PDT 2023


klausler created this revision.
klausler added a reviewer: PeteSteinfeld.
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.

Earlier work allowed a specification expression to reference a generic function
that was defined earlier, so long as the relevant specific procedure of the
generic had been defined before the generic.  This patch extends that work
so that the generic can also be used in cases where the relevant specific
procedure has been defined after the generic and before the reference.


https://reviews.llvm.org/D159034

Files:
  flang/lib/Semantics/resolve-names.cpp
  flang/test/Semantics/symbol29.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159034.554096.patch
Type: text/x-patch
Size: 8436 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230828/156bd621/attachment-0001.bin>


More information about the flang-commits mailing list