[flang-commits] [PATCH] D134401: [flang] Special handling of ENTRY BIND(C, NAME=...)

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Sep 21 17:18:26 PDT 2022


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.

We apply special symbol table scoping to top-level subroutine
and function names that have interoperable binding names, so
that it's possible to define the same subroutine/function name
more than once at the top level so long as their binding names
are distinct.  But we don't use those scoping techniques for
ENTRY statement symbols with interoperable binding names,
which can lead to bogus semantic errors when the same ENTRY
name is defined multiple times with distinct binding names.


https://reviews.llvm.org/D134401

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134401.462049.patch
Type: text/x-patch
Size: 6805 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220922/f49d4fa2/attachment-0001.bin>


More information about the flang-commits mailing list