[flang-commits] [PATCH] D139200: [flang] Map symbols in expressions when copying interface symbols

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri Dec 2 07:22:26 PST 2022


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

Given a MODULE SUBROUTINE or MODULE FUNCTION interface followed
later by a corresponding separate module subprogram definition in a
MODULE PROCEDURE, the copies of the interface's dummy argument and
function result symbols that populate the initial scope of that
MODULE PROCEDURE need to have any symbol references in their types
or bounds adjusted to point to their new counterparts.


https://reviews.llvm.org/D139200

Files:
  flang/include/flang/Evaluate/call.h
  flang/include/flang/Evaluate/traverse.h
  flang/include/flang/Evaluate/variable.h
  flang/include/flang/Semantics/symbol.h
  flang/include/flang/Semantics/type.h
  flang/lib/Evaluate/call.cpp
  flang/lib/Evaluate/variable.cpp
  flang/lib/Semantics/mod-file.cpp
  flang/lib/Semantics/resolve-names-utils.cpp
  flang/lib/Semantics/resolve-names-utils.h
  flang/lib/Semantics/resolve-names.cpp
  flang/lib/Semantics/runtime-type-info.cpp
  flang/lib/Semantics/symbol.cpp
  flang/lib/Semantics/type.cpp
  flang/test/Semantics/modproc01.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139200.479633.patch
Type: text/x-patch
Size: 27986 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221202/95bcf248/attachment-0001.bin>


More information about the flang-commits mailing list