[all-commits] [llvm/llvm-project] 9c25ca: [flang] Don't generate module file for hermetic US...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jun 16 14:36:35 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c25ca78f9bdfe74e5dbaa60a864411bdbae4943
      https://github.com/llvm/llvm-project/commit/9c25ca78f9bdfe74e5dbaa60a864411bdbae4943
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-06-16 (Mon, 16 Jun 2025)

  Changed paths:
    M flang/lib/Semantics/mod-file.cpp
    A flang/test/Semantics/modfile79.F90

  Log Message:
  -----------
  [flang] Don't generate module file for hermetic USE'd dependency (#144143)

It's possible for the module file generation code to think that it needs
to (re)generate a module file for a dependent module read from a
hermetic module file, if it defines contains a procedure imported via
renaming due to a name clash. Adjust the logic that determines whether a
module file should be written to include a check for having originated
in a module file.



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