[all-commits] [llvm/llvm-project] 0b8381: [flang] Fix bogus generic interface error due to h...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Oct 3 10:48:53 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b8381aba9f90884ddfc69393d6f2bb1bda7facf
      https://github.com/llvm/llvm-project/commit/0b8381aba9f90884ddfc69393d6f2bb1bda7facf
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-10-03 (Fri, 03 Oct 2025)

  Changed paths:
    M flang/include/flang/Semantics/tools.h
    M flang/lib/Semantics/check-declarations.cpp
    M flang/lib/Semantics/resolve-names.cpp
    M flang/lib/Semantics/tools.cpp
    A flang/test/Semantics/modfile80.F90

  Log Message:
  -----------
  [flang] Fix bogus generic interface error due to hermetic module files (#161607)

When the same generic interface is processed via USE association from
its original module file and from a copy in a hermetic module file, we
need to do a better job at detecting and omitting duplicate specific
procedures. They won't have the same symbol addresses, but they will
have the same name, module name, and characteristics. This will avoid a
bogus error about multiple specific procedures matching the actual
arguments later when the merged generic interface is referenced.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list