[all-commits] [llvm/llvm-project] 2b7e3f: [flang] Unify derived types in distinct module fil...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Jul 3 14:34:38 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b7e3f6fa6fb1a45a2bf542788325db12666976e
      https://github.com/llvm/llvm-project/commit/2b7e3f6fa6fb1a45a2bf542788325db12666976e
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-07-03 (Thu, 03 Jul 2025)

  Changed paths:
    M flang/lib/Evaluate/type.cpp
    A flang/test/Semantics/bug1092.F90

  Log Message:
  -----------
  [flang] Unify derived types in distinct module files (#146759)

When using -fhermetic-module-files it's possible for a derived type to
have multiple distinct definition sites that are being compared for
being the same type, as in argument association. Accept them as being
the same type so long as they have the same names, the same module
names, and identical definitions.



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