[flang] Enforce constraint: defined ass't in WHERE must be elemental
authorpeter klausler <pklausler@nvidia.com>
Wed, 15 Sep 2021 15:28:48 +0000 (08:28 -0700)
committerpeter klausler <pklausler@nvidia.com>
Mon, 27 Sep 2021 17:12:53 +0000 (10:12 -0700)
commit1c2e5fd66ea27d0c51360ba4e22099124a915562
treef02ced1533bdbf50dc543eda55c8d6d4dfbfc5d9
parenta2a07e8db3bf64440f24d9d6408df214886826de
[flang] Enforce constraint: defined ass't in WHERE must be elemental

A defined assignment subroutine invoked in the context of a WHERE
statement or construct must necessarily be elemental (C1032).

Differential Revision: https://reviews.llvm.org/D109932
flang/include/flang/Semantics/expression.h
flang/lib/Semantics/expression.cpp
flang/test/Semantics/assign04.f90