[all-commits] [llvm/llvm-project] 83c1cf: [flang][OpenMP] Fix offsets for EQUIVALENCE in fir...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Sep 3 11:07:33 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 83c1cf6251c95f8ffbe55238e43dc2d9fee9c8ea
      https://github.com/llvm/llvm-project/commit/83c1cf6251c95f8ffbe55238e43dc2d9fee9c8ea
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-09-03 (Wed, 03 Sep 2025)

  Changed paths:
    M flang/lib/Semantics/compute-offsets.cpp
    M flang/lib/Semantics/symbol.cpp
    M flang/test/Semantics/cuf-device-procedures01.cuf
    A flang/test/Semantics/offsets05.f90

  Log Message:
  -----------
  [flang][OpenMP] Fix offsets for EQUIVALENCE in firstprivate(/block/) (#156492)

When a common block appears in firstprivate, its contents become host
associations, which the symbol offset computation code for equivalences
wasn't expecting. Add a GetUltimate() call, and extend symbol dumping
for HostAssocDetails.



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