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

Iñaki Amatria Barral via All-commits all-commits at lists.llvm.org
Wed Feb 26 09:19:23 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 722c7c0b0f9a3f74cb6755fa40d9b88e77d79495
      https://github.com/llvm/llvm-project/commit/722c7c0b0f9a3f74cb6755fa40d9b88e77d79495
  Author: Iñaki Amatria Barral <140811900+inaki-amatria at users.noreply.github.com>
  Date:   2025-02-26 (Wed, 26 Feb 2025)

  Changed paths:
    M flang/lib/Semantics/mod-file.cpp
    A flang/test/Semantics/Inputs/modfile72.f90
    A flang/test/Semantics/modfile72.f90

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

This PR adds a test to ensure deterministic ordering in `.mod` files. It
also includes related changes to prevent non-deterministic symbol
ordering caused by pointers outside the cooked source. This issue is
particularly noticeable when using Flang as a library and compiling the
same files multiple times.



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