[all-commits] [llvm/llvm-project] 676805: [flang][openacc] bug fix in semantic checking (#15...

Andre Kuhlenschmidt via All-commits all-commits at lists.llvm.org
Wed Aug 27 16:23:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6768056af9483076e85c7bfefb83261f7c96fbe4
      https://github.com/llvm/llvm-project/commit/6768056af9483076e85c7bfefb83261f7c96fbe4
  Author: Andre Kuhlenschmidt <andre.kuhlenschmidt at gmail.com>
  Date:   2025-08-27 (Wed, 27 Aug 2025)

  Changed paths:
    M flang/lib/Semantics/resolve-directives.cpp
    M flang/test/Semantics/OpenACC/acc-parallel.f90

  Log Message:
  -----------
  [flang][openacc] bug fix in semantic checking (#155659)

This fixes two scoping related bugs with OpenACC semantic checking.
- Data constructs with open acc now inherit the default Data Sharing
Attribute of their parent construct.
- Data Sharing Attributes scopes now nest such that if a symbol's DSA
wasn't declared by the innermost then lookup looks in the parent
construct's data sharing declarations. This fixes the added test cases.



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