[all-commits] [llvm/llvm-project] 4c9d54: [flang] Special handling of ENTRY BIND(C, NAME=...)
Peter Klausler via All-commits
all-commits at lists.llvm.org
Fri Sep 23 11:17:48 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4c9d54982c85afde04e93b4f4d3ff648e48331db
https://github.com/llvm/llvm-project/commit/4c9d54982c85afde04e93b4f4d3ff648e48331db
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2022-09-23 (Fri, 23 Sep 2022)
Changed paths:
M flang/lib/Semantics/resolve-names.cpp
A flang/test/Semantics/symbol24.f90
Log Message:
-----------
[flang] Special handling of ENTRY BIND(C,NAME=...)
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.
Differential Revision: https://reviews.llvm.org/D134401
More information about the All-commits
mailing list