[all-commits] [llvm/llvm-project] 6eefad: [flang][Semantics] Ensure deterministic mod file o...

Iñaki Amatria Barral via All-commits all-commits at lists.llvm.org
Tue Mar 4 23:27:39 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6eefadd8efc0584211cb5283e0acc00a45588242
      https://github.com/llvm/llvm-project/commit/6eefadd8efc0584211cb5283e0acc00a45588242
  Author: Iñaki Amatria Barral <140811900+inaki-amatria at users.noreply.github.com>
  Date:   2025-03-05 (Wed, 05 Mar 2025)

  Changed paths:
    M flang/lib/Semantics/mod-file.cpp
    A flang/test/Semantics/Inputs/modfile73-a.f90
    A flang/test/Semantics/Inputs/modfile73-b.f90
    A flang/test/Semantics/Inputs/modfile73-c.f90
    A flang/test/Semantics/modfile73.f90

  Log Message:
  -----------
  [flang][Semantics] Ensure deterministic mod file output (#129669)

This PR is a follow-up to #128655.

It adds another test to ensure deterministic ordering in `.mod` files
and includes related changes to prevent non-deterministic ordering
caused by iterating over a set ordered by heap pointers. This issue is
particularly noticeable when using Flang as a library and compiling the
same files multiple times.

The reduced test case is as minimal as possible. We were unable to
reproduce the issue with a smaller set of files.



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