[all-commits] [llvm/llvm-project] 82dbe8: [flang] Refine pointer/target test for ASSOCIATED ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Feb 10 11:32:44 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 82dbe82585fbb33c8c65a1cae10b6f2bbede9bc8
      https://github.com/llvm/llvm-project/commit/82dbe82585fbb33c8c65a1cae10b6f2bbede9bc8
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-02-10 (Thu, 10 Feb 2022)

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

  Log Message:
  -----------
  [flang] Refine pointer/target test for ASSOCIATED intrinsic

The second argument to the ASSOCIATED intrinsic must be a valid pointer
or target. The test for this property only checked the last symbol
in a data-reference, but any symbol in the reference with the
POINTER or TARGET attribute will do.

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




More information about the All-commits mailing list