[all-commits] [llvm/llvm-project] 7ede0b: [flang] Complex constructors are scalar only

Peter Klausler via All-commits all-commits at lists.llvm.org
Sun Oct 30 11:10:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ede0b2cc520da59e8459563cbd1a36cc8492f86
      https://github.com/llvm/llvm-project/commit/7ede0b2cc520da59e8459563cbd1a36cc8492f86
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-10-30 (Sun, 30 Oct 2022)

  Changed paths:
    M flang/lib/Semantics/expression.cpp
    A flang/test/Semantics/expr-errors05.f90

  Log Message:
  -----------
  [flang] Complex constructors are scalar only

The common language extension that allows arbitary expressions
to be used as components in a complex constructor (x,y) -- not both
constant, since that would make it a complex literal constant --
still have to be scalar; it's not an elemental operation like the
CMPLX() intrinsic function is.

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




More information about the All-commits mailing list