[all-commits] [llvm/llvm-project] 1d8ecb: [flang] Require contiguous actual pointer for cont...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon May 12 12:27:43 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d8ecbe9486b8a6b2839cb3001008338c3d9798d
      https://github.com/llvm/llvm-project/commit/1d8ecbe9486b8a6b2839cb3001008338c3d9798d
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-05-12 (Mon, 12 May 2025)

  Changed paths:
    M flang/lib/Semantics/check-call.cpp
    M flang/lib/Semantics/pointer-assignment.cpp
    M flang/lib/Semantics/pointer-assignment.h
    M flang/test/Semantics/call07.f90

  Log Message:
  -----------
  [flang] Require contiguous actual pointer for contiguous dummy pointer (#139298)

When the actual argument associated with an explicitly CONTIGUOUS
pointer dummy argument is itself a pointer, it must also be contiguous.
(A non-pointer actual argument can associate with a CONTIGUOUS pointer
dummy argument if it's INTENT(IN), and in that case it's still just a
warning if we can't prove at compilation time that the actual is
contiguous.)

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



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