[PATCH] D94696: [flang] Fix use-associated procedure in generic

Tim Keith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 14 09:04:05 PST 2021


tskeith created this revision.
tskeith added reviewers: klausler, PeteSteinfeld.
tskeith added a project: Flang.
Herald added a subscriber: jdoerfert.
tskeith requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

When a use-associated procedure was included in a generic, we weren't
correctly recording that fact. The ultimate symbol was added rather than
the local symbol.

Also, improve the message emitted for the specific procedure by
mentioning the module it came from.

This fixes one of the problems in https://bugs.llvm.org/show_bug.cgi?id=48648.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D94696

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94696.316676.patch
Type: text/x-patch
Size: 3682 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210114/92f3f413/attachment.bin>


More information about the llvm-commits mailing list