[all-commits] [llvm/llvm-project] e7c6e3: [flang][OpenMP] Fix threadprivate pointer variable...

Tom Eccles via All-commits all-commits at lists.llvm.org
Wed Mar 19 03:13:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e7c6e3557b372afe6e78c025addfec276a10b49d
      https://github.com/llvm/llvm-project/commit/e7c6e3557b372afe6e78c025addfec276a10b49d
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2025-03-19 (Wed, 19 Mar 2025)

  Changed paths:
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    A flang/test/Lower/OpenMP/threadprivate-common-block-pointer.f90

  Log Message:
  -----------
  [flang][OpenMP] Fix threadprivate pointer variable in common block (#131888)

Fixes #112538

The problem was that the host associated symbol for the threadprivate
variable doesn't have all of the symbol attributes (e.g. POINTER). This
caused the lowering code to generate the wrong type, eventually hitting
an assertion.



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