[all-commits] [llvm/llvm-project] 696ad1: [flang] Use rank from the allocate object when all...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu Feb 2 01:24:08 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 696ad1394e88b417b934a6beb7d22fb28ab75144
      https://github.com/llvm/llvm-project/commit/696ad1394e88b417b934a6beb7d22fb28ab75144
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-02-02 (Thu, 02 Feb 2023)

  Changed paths:
    M flang/include/flang/Runtime/allocatable.h
    M flang/include/flang/Runtime/pointer.h
    M flang/lib/Lower/Allocatable.cpp
    M flang/runtime/allocatable.cpp
    M flang/runtime/pointer.cpp
    M flang/test/Lower/allocatable-polymorphic.f90
    M flang/test/Lower/allocatable-runtime.f90
    M flang/test/Lower/polymorphic-temp.f90

  Log Message:
  -----------
  [flang] Use rank from the allocate object when allocate with mold

The rank from the allocate object might be different from the rank
from the mold expression. Use the rank from the allocate object
when applying to mold so the bounds can be set correctly.

Reviewed By: jeanPerier

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




More information about the All-commits mailing list