[all-commits] [llvm/llvm-project] 7602e0: [flang] Handle type generation for unlimited polym...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue Dec 13 06:00:23 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7602e09b1c530bf60028b8c5e508139e6db6e91a
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-12-13 (Tue, 13 Dec 2022)

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

  Log Message:
  [flang] Handle type generation for unlimited polymorphic function result

An unlimited polymorphic entity is considered to have a derived category
in its dynamic type but no type descriptor. Avoid a nullptr dereference when
an unlimited polymorphic type needs to be generated.

Reviewed By: PeteSteinfeld

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

More information about the All-commits mailing list