[all-commits] [llvm/llvm-project] e86e2a: [flang] More error checking for ASSOCIATED()

Peter Klausler via All-commits all-commits at lists.llvm.org
Sat Dec 3 17:47:09 PST 2022


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

  Changed paths:
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/test/Semantics/associated.f90

  Log Message:
  -----------
  [flang] More error checking for ASSOCIATED()

The TARGET= argument of the ASSOCIATED() intrinsic function must be a valid
pointer assignment statement target.  Ensure that it does not contain a vector
subscript or any coindexing, either of which would imply a data copy into
temporary storage.

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




More information about the All-commits mailing list