[all-commits] [llvm/llvm-project] fa5e44: [flang] Don't use-associate intrinsics

Tim Keith via All-commits all-commits at lists.llvm.org
Wed Jul 15 15:08:38 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fa5e4482e01f7eceae52529edb75e754b601e8d0
      https://github.com/llvm/llvm-project/commit/fa5e4482e01f7eceae52529edb75e754b601e8d0
  Author: Tim Keith <tkeith at nvidia.com>
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp
    M flang/test/Semantics/modfile30.f90
    M flang/test/Semantics/resolve14.f90

  Log Message:
  -----------
  [flang] Don't use-associate intrinsics

When an intrinsic is referenced in a module scope, a symbol for it is
added. When that module is USEd, the intrinsic should not be included.
Otherwise we can get ambiguous reference errors with the same intrinsic
coming from two difference modules.

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




More information about the All-commits mailing list