[all-commits] [llvm/llvm-project] d6acf3: [flang] Fix use-associated procedure in generic

Tim Keith via All-commits all-commits at lists.llvm.org
Thu Jan 14 16:37:12 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d6acf3c2012b00f06a422e8704609676be7729b2
      https://github.com/llvm/llvm-project/commit/d6acf3c2012b00f06a422e8704609676be7729b2
  Author: Tim Keith <tkeith at nvidia.com>
  Date:   2021-01-14 (Thu, 14 Jan 2021)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp
    M flang/test/Semantics/modfile07.f90
    M flang/test/Semantics/resolve53.f90

  Log Message:
  -----------
  [flang] Fix use-associated procedure in generic

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.

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




More information about the All-commits mailing list