[all-commits] [llvm/llvm-project] 4befe6: [flang][semantics][OpenMP] store DSA using ultimat...

Tom Eccles via All-commits all-commits at lists.llvm.org
Tue Sep 3 02:19:43 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4befe65cf065a1be8bb8f30d76a3f45ea45aa63f
      https://github.com/llvm/llvm-project/commit/4befe65cf065a1be8bb8f30d76a3f45ea45aa63f
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2024-09-03 (Tue, 03 Sep 2024)

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

  Log Message:
  -----------
  [flang][semantics][OpenMP] store DSA using ultimate sym (#107002)

Previously we tracked data sharing attributes by the symbol itself not
by the ultimate symbol. When the private clause came first, subsequent
uses of the symbol found a host-associated version instead of the
ultimate symbol and so the check didn't consider them to be the same
symbol. Always adding and checking for the ultimate symbol ensures that
we have the same behaviour no matter the order of clauses.

The modified list is only used for this multiple clause check.

Closes #78235



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