[all-commits] [llvm/llvm-project] 1bd0ff: [flang] Allow non polymorphic pointer assignment w...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Wed Nov 30 06:53:50 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1bd0ff7a90593d3cf363325ff797bc5efa7928e0
      https://github.com/llvm/llvm-project/commit/1bd0ff7a90593d3cf363325ff797bc5efa7928e0
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  Changed paths:
    M flang/lib/Lower/Bridge.cpp
    M flang/test/Lower/polymorphic.f90

  Log Message:
  -----------
  [flang] Allow non polymorphic pointer assignment with polymorphic rhs

Remove the TODO and allow pointer assignment with non
polymorphic entity on the lhs. The assignment follow the same scheme
as derived-type pointer assignment to parent component.

Reviewed By: jeanPerier

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




More information about the All-commits mailing list