[all-commits] [llvm/llvm-project] dcbfab: [flang] Be more persistent in search for non-intri...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Aug 18 15:10:30 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dcbfabbeb5e3c185734a88ca49a07a6d5354a248
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-08-18 (Thu, 18 Aug 2022)

  Changed paths:
    M flang/lib/Semantics/mod-file.cpp

  Log Message:
  [flang] Be more persistent in search for non-intrinsic module file

When a particular module name has been brought into a compilation
as an intrinsic module via USE,INTRINSIC, perhaps indirectly via
an enclosing USE statement, f18 will resolve later USE statements
to it unless they are USE,NON_INTRINSIC.  This is not entirely
correct -- a bare USE statement for a module name that happens to
match that of an intrinsic module should still search the search
paths for a non-intrinsic module file of the same name.

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

More information about the All-commits mailing list