[all-commits] [llvm/llvm-project] bc83d1: [flang] Enforce restrictions on intrinsic assignment

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Dec 2 15:23:53 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc83d1c655c13c58e34515d8efe7784c62012437
      https://github.com/llvm/llvm-project/commit/bc83d1c655c13c58e34515d8efe7784c62012437
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-12-02 (Fri, 02 Dec 2022)

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

  Log Message:
  -----------
  [flang] Enforce restrictions on intrinsic assignment

When the left-hand side of an intrinsic assignment statement is
polymorphic, the LHS must be a whole allocatable variable or
component and may not be a coarray (10.2.2.1p1(1)).

Differential Revision: https://reviews.llvm.org/D139049




More information about the All-commits mailing list