[all-commits] [llvm/llvm-project] c55bf5: [flang] Make sure allocatable components are initi...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Fri Sep 2 11:43:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c55bf526356bab67fcd65eafb2ca253c20e0715e
      https://github.com/llvm/llvm-project/commit/c55bf526356bab67fcd65eafb2ca253c20e0715e
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-09-02 (Fri, 02 Sep 2022)

  Changed paths:
    M flang/lib/Lower/ConvertExpr.cpp
    A flang/test/Lower/derived-type-temp.f90

  Log Message:
  -----------
  [flang] Make sure allocatable components are initialzed for temp derived-type

Runtime functions expect clean unallocated state for descriptor. This
patch adds a call to the runtime function to initialize the temporary
derived-type created.

Reviewed By: vdonaldson

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




More information about the All-commits mailing list