[all-commits] [llvm/llvm-project] 506ff5: [flang][Semantics] Fix updating flags of threadpri...

NimishMishra via All-commits all-commits at lists.llvm.org
Thu Apr 11 23:10:13 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 506ff547924ab81123865964b7d998a5a378330a
      https://github.com/llvm/llvm-project/commit/506ff547924ab81123865964b7d998a5a378330a
  Author: NimishMishra <42909663+NimishMishra at users.noreply.github.com>
  Date:   2024-04-11 (Thu, 11 Apr 2024)

  Changed paths:
    M flang/lib/Semantics/resolve-directives.cpp
    M flang/test/Lower/OpenMP/default-clause.f90

  Log Message:
  -----------
  [flang][Semantics] Fix updating flags of threadprivate symbols in presence of default clause (#78283)

Current semantic checks of default clause incorrectly update symbol
flags related to threadprivate symbols. This patch adds an additional
check to skip such updation should a symbol be already declared
threadprivate.

Fixes https://github.com/llvm/llvm-project/issues/78282



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