[all-commits] [llvm/llvm-project] 32a793: [flang] Resolve USE vs IMPORT conflicts

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Apr 3 09:00:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 32a793b687a59717bc1c0211ebeb1fcd613d1bc9
      https://github.com/llvm/llvm-project/commit/32a793b687a59717bc1c0211ebeb1fcd613d1bc9
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-04-03 (Mon, 03 Apr 2023)

  Changed paths:
    M flang/docs/Extensions.md
    M flang/lib/Semantics/resolve-names.cpp
    A flang/test/Semantics/resolve118.f90

  Log Message:
  -----------
  [flang] Resolve USE vs IMPORT conflicts

When the same name is pulled into a scope more than once via
USE and IMPORT, emit an error if its resolutions are ambiguous,
or (as an extension like some other compilers) emit a portability
warning when the names all resolve to the same symbol.

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




More information about the All-commits mailing list