[all-commits] [llvm/llvm-project] a18adb: [flang] fix scoping of cray pointer declarations a...

Andre Kuhlenschmidt via All-commits all-commits at lists.llvm.org
Fri May 2 07:35:45 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a18adb2358cac0f14cce5faf27f607c2b1601ed9
      https://github.com/llvm/llvm-project/commit/a18adb2358cac0f14cce5faf27f607c2b1601ed9
  Author: Andre Kuhlenschmidt <andre.kuhlenschmidt at gmail.com>
  Date:   2025-05-02 (Fri, 02 May 2025)

  Changed paths:
    M flang/lib/Semantics/check-declarations.cpp
    M flang/lib/Semantics/resolve-names.cpp
    M flang/lib/Semantics/semantics.cpp
    M flang/test/Lower/OpenMP/cray-pointers01.f90
    M flang/test/Semantics/declarations08.f90
    A flang/test/Semantics/resolve125.f90

  Log Message:
  -----------
  [flang] fix scoping of cray pointer declarations and add check for initialization (#136776)

This PR:
- makes Cray pointer declarations shadow previous bindings instead of
modifying them,
- errors when the pointee of a cray pointee has the SAVE attribute, and
- adds a missing newline after dumping the list of cray pointers in a
scope.

Closes #135579



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