[all-commits] [llvm/llvm-project] 6f3001: [flang] Fix bug with IMPORT of USE of USE

Tim Keith via All-commits all-commits at lists.llvm.org
Mon May 11 13:30:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f300105d21e1f3bf7f0f92c2564c29f0cab8fb9
      https://github.com/llvm/llvm-project/commit/6f300105d21e1f3bf7f0f92c2564c29f0cab8fb9
  Author: Tim Keith <tkeith at nvidia.com>
  Date:   2020-05-11 (Mon, 11 May 2020)

  Changed paths:
    M flang/lib/Semantics/mod-file.cpp
    A flang/test/Semantics/modfile36.f90

  Log Message:
  -----------
  [flang] Fix bug with IMPORT of USE of USE

When a module contained an import of a use-association of a
use-association, we weren't recognizing that the symbols was needed.
The fix is the follow all of the use-associations using `GetUltimate()`.

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




More information about the All-commits mailing list