[all-commits] [llvm/llvm-project] fd4c95: [flang] Correct handling of USE-associated generic...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Mar 10 10:09:22 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fd4c958dc5b3e052e5e717c3bf0f914a70466d84
      https://github.com/llvm/llvm-project/commit/fd4c958dc5b3e052e5e717c3bf0f914a70466d84
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-03-10 (Fri, 10 Mar 2023)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp
    A flang/test/Semantics/symbol25.f90

  Log Message:
  -----------
  [flang] Correct handling of USE-associated generic override in nested scope

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.

Differential Revision: https://reviews.llvm.org/D145750




More information about the All-commits mailing list