[all-commits] [llvm/llvm-project] 7fa388: [Flang][OpenMP] Fix bug with default(none) and hos...

Michael Klemm via All-commits all-commits at lists.llvm.org
Mon Apr 7 08:21:15 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7fa388d77b61685a1e7d359ceb6f73c60f1ade83
      https://github.com/llvm/llvm-project/commit/7fa388d77b61685a1e7d359ceb6f73c60f1ade83
  Author: Michael Klemm <michael.klemm at amd.com>
  Date:   2025-04-07 (Mon, 07 Apr 2025)

  Changed paths:
    M flang/lib/Semantics/resolve-directives.cpp
    A flang/test/Lower/OpenMP/threadprivate-host-association-3.f90

  Log Message:
  -----------
  [Flang][OpenMP] Fix bug with default(none) and host-assoc threadprivate variable (#134122)

When a host associated `threadprivate` variable was used in a parallel
region with `default(none)` in an internal subroutine was failing,
because the compiler did not properly determine that the variable was
pre-determined `threadprivate` and thus should not have been reported as
missing a DSA.



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