[flang-commits] [PATCH] D145750: [flang] Correct handling of USE-associated generic override in nested scope

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Mar 9 16:36:57 PST 2023


klausler created this revision.
klausler added a reviewer: clementval.
klausler added a project: Flang.
Herald added subscribers: sunshaoce, jdoerfert.
Herald added a reviewer: sscalpone.
Herald added a project: All.
klausler requested review of this revision.

As the new test here shows by failing with the current compiler with
a bogus error message about indistinguishable specific procedures in
a generic interface, name resolution needs to take care to not
copy a USE-associated generic into the current scope for extension
when the USE association is actually into an enclosing scope.


https://reviews.llvm.org/D145750

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145750.503975.patch
Type: text/x-patch
Size: 3677 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230310/695a12c1/attachment-0001.bin>


More information about the flang-commits mailing list