[all-commits] [llvm/llvm-project] 6b66f1: [flang] Another validity of the TARGET= argument o...

Pete Steinfeld via All-commits all-commits at lists.llvm.org
Wed Oct 21 10:20:18 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b66f1cd9ba4533904a733329890e911ae0f5f6f
      https://github.com/llvm/llvm-project/commit/6b66f1cd9ba4533904a733329890e911ae0f5f6f
  Author: Peter Steinfeld <psteinfeld at nvidia.com>
  Date:   2020-10-21 (Wed, 21 Oct 2020)

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

  Log Message:
  -----------
  [flang] Another validity of the TARGET= argument of ASSOCIATED() for objects

In my previous implementation of the semantic checks for ASSOCIATED(), I
had neglected to check the TARGET= argument for objects to ensure that
it has either the POINTER or TARGET attributes.

I added an implementation and a test.

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




More information about the All-commits mailing list