[all-commits] [llvm/llvm-project] 90da68: [flang][openacc] Avoid creation of duplicate globa...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu Nov 9 12:57:43 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 90da688baccbedc448a79144b475db7ec482efdf
      https://github.com/llvm/llvm-project/commit/90da688baccbedc448a79144b475db7ec482efdf
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2023-11-09 (Thu, 09 Nov 2023)

  Changed paths:
    M flang/lib/Lower/OpenACC.cpp
    M flang/test/Lower/OpenACC/HLFIR/acc-declare.f90

  Log Message:
  -----------
  [flang][openacc] Avoid creation of duplicate global ctor (#71846)

PR #70698 relax the duplication rule in acc declare clauses. This lead
to potential duplicate creation of the global constructor/destructor.
This patch make sure to not generate a duplicate ctor/dtor.




More information about the All-commits mailing list