[all-commits] [llvm/llvm-project] 1c16b0: [flang] Return arrays in Transfer runtime with SIZ...

jeanPerier via All-commits all-commits at lists.llvm.org
Thu Dec 2 23:24:33 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c16b0db9d56ba533147cfbe2c4e1bb0a8bcbc45
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2021-12-03 (Fri, 03 Dec 2021)

  Changed paths:
    M flang/runtime/misc-intrinsic.cpp
    M flang/unittests/Runtime/MiscIntrinsic.cpp

  Log Message:
  [flang] Return arrays in Transfer runtime with SIZE argument

In TRANSFER runtime the result was an array only if the MOLD was an array.
This is not in line with TRANSFER definition in 16.9.193 that rules that it
must also be an array if MOLD is scalar and SIZE if provided.

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

More information about the All-commits mailing list