[all-commits] [llvm/llvm-project] bbc27f: [flang] Refine checks on assignments to coarrays (...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Mar 10 13:20:01 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bbc27fbb1cb3ac6a92d9ce15f647b29114a75c91
      https://github.com/llvm/llvm-project/commit/bbc27fbb1cb3ac6a92d9ce15f647b29114a75c91
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

  Changed paths:
    M flang/lib/Semantics/expression.cpp
    M flang/test/Semantics/assign11.f90

  Log Message:
  -----------
  [flang] Refine checks on assignments to coarrays (#129966)

F'2023 10.2.1.2 paragraph 2 imposes some requirements on the left-hand
sides of assignments when they have coindices, and one was not checked
while another was inaccurately checked. In short, intrinsic assignment
to a coindexed object can't change its type, and neither can it affect
allocatable components.



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