[flang-commits] [PATCH] D117345: [flang] Accept ENTRY names in generic interfaces

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri Jan 14 11:06:45 PST 2022


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

ENTRY statement names in module subprograms were not acceptable for
use as a "module procedure" in a generic interface, but should be.
ENTRY statements need to have symbols with place-holding
SubprogramNameDetails created for them in order to be visible in
generic interfaces.  Those symbols are created from the "program
tree" data structure.  This patch adds ENTRY statement names to the
program tree data structure and uses them to generate SubprogramNameDetails
symbols.


https://reviews.llvm.org/D117345

Files:
  flang/include/flang/Semantics/symbol.h
  flang/lib/Semantics/program-tree.cpp
  flang/lib/Semantics/program-tree.h
  flang/lib/Semantics/resolve-names.cpp
  flang/test/Semantics/entry01.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117345.400079.patch
Type: text/x-patch
Size: 7805 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220114/2dc45262/attachment-0001.bin>


More information about the flang-commits mailing list