[all-commits] [llvm/llvm-project] fd26ee: [flang] Allow pointer association between derived-...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu Jan 19 08:34:48 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fd26eee486ed81a2477e28d069fb68072fd7b2a2
      https://github.com/llvm/llvm-project/commit/fd26eee486ed81a2477e28d069fb68072fd7b2a2
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-01-19 (Thu, 19 Jan 2023)

  Changed paths:
    M flang/lib/Optimizer/Dialect/FIROps.cpp
    M flang/test/Lower/polymorphic.f90

  Log Message:
  -----------
  [flang] Allow pointer association between derived-type pointer and unlimited polymorphic target

Pointer association to unlimited polymorphic target is allowed for
unlimited polymorphic pointer and non-extensible derived-type.
This is checked by the semantic and this patch allows it in the
fir.rebox operation.

Reviewed By: jeanPerier, PeteSteinfeld

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




More information about the All-commits mailing list