[flang-commits] [PATCH] D147388: [flang] Resolve USE vs IMPORT conflicts

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Sat Apr 1 14:21:04 PDT 2023


klausler created this revision.
klausler added a reviewer: PeteSteinfeld.
klausler added a project: Flang.
Herald added subscribers: sunshaoce, jdoerfert.
Herald added a reviewer: sscalpone.
Herald added a project: All.
klausler requested review of this revision.

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.


https://reviews.llvm.org/D147388

Files:
  flang/docs/Extensions.md
  flang/lib/Semantics/resolve-names.cpp
  flang/test/Semantics/resolve118.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147388.510265.patch
Type: text/x-patch
Size: 2763 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230401/e6f4da55/attachment-0001.bin>


More information about the flang-commits mailing list