[all-commits] [llvm/llvm-project] 1bf826: [flang][acc] Accept component reference in non-glo...

Razvan Lupusoru via All-commits all-commits at lists.llvm.org
Fri Apr 17 11:13:49 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1bf82626f7024cc66d46d07dfebd55d0acb44b29
      https://github.com/llvm/llvm-project/commit/1bf82626f7024cc66d46d07dfebd55d0acb44b29
  Author: Razvan Lupusoru <razvan.lupusoru at gmail.com>
  Date:   2026-04-17 (Fri, 17 Apr 2026)

  Changed paths:
    M flang/lib/Lower/OpenACC.cpp
    A flang/test/Lower/OpenACC/acc-declare-global-component-not-supported.f90
    M flang/test/Lower/OpenACC/acc-declare.f90

  Log Message:
  -----------
  [flang][acc] Accept component reference in non-global `acc declare` (#192563)

The current TODO was being issued for all cases of `acc declare`
including ones which are treated as a subroutine-scope lifetime. Since
the latter use normal data mapping clauses without the need for
ctors/dtors, accept them. However, still emit TODO for the cases where
component references are `acc declare`d in global context.



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