[all-commits] [llvm/llvm-project] a7119e: [flang][OpenMP] Detect complex part designators in...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Wed Nov 5 10:42:45 PST 2025


  Branch: refs/heads/users/kparzysz/complex-allocatable-issue
  Home:   https://github.com/llvm/llvm-project
  Commit: a7119e98dc44a84f9a4bebcb6f73a1928150aa87
      https://github.com/llvm/llvm-project/commit/a7119e98dc44a84f9a4bebcb6f73a1928150aa87
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-11-05 (Wed, 05 Nov 2025)

  Changed paths:
    M flang/lib/Semantics/check-omp-atomic.cpp
    A flang/test/Lower/OpenMP/atomic-update-capture-complex-part.f90

  Log Message:
  -----------
  [flang][OpenMP] Detect complex part designators in atomic variables

Complex part designators do not have their own symbols. A symbol obtained
for the expression `x%re` will be the symbol for `x`, and in this case x
is allowed to be allocatable.

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



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