[all-commits] [llvm/llvm-project] a4c5d0: [flang] Fix scope in which undeclared symbols are ...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Thu Sep 2 14:16:33 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a4c5d00cd33b137d103c799032666dcc91ac3065
https://github.com/llvm/llvm-project/commit/a4c5d00cd33b137d103c799032666dcc91ac3065
Author: peter klausler <pklausler at nvidia.com>
Date: 2021-09-02 (Thu, 02 Sep 2021)
Changed paths:
M flang/lib/Semantics/resolve-names.cpp
M flang/test/Semantics/modfile26.f90
Log Message:
-----------
[flang] Fix scope in which undeclared symbols are created
Don't create new symbols in FORALL, implied DO, or other
construct scopes when an undeclared name appears; use the
innermost enclosing program unit's scope. This clears up
a pending TODO in name resolution, and also exposes (& fixes)
an unnoticed name resolution problem in a module file test.
Differential Revision: https://reviews.llvm.org/D109095
More information about the All-commits
mailing list