[flang] Unlimited polymoprhic allocated as character
authorValentin Clement <clementval@gmail.com>
Wed, 8 Feb 2023 15:31:26 +0000 (16:31 +0100)
committerValentin Clement <clementval@gmail.com>
Wed, 8 Feb 2023 15:31:48 +0000 (16:31 +0100)
commit4143d3ebd2d8fbefc8d7ba2cded304a6049aed7f
treec36abcf886fcacbcb7f57151cdde241119a47936
parent1c10d5b175992a9d056a2d763a932e5652386fc1
[flang] Unlimited polymoprhic allocated as character

Allocation of unlimited polymorphic allocatable with
character intrinsic type is now done through
`PointerNullifyCharacter` or `AllocatableInitCharacter` so the length
is correctly set.

Reviewed By: jeanPerier

Differential Revision: https://reviews.llvm.org/D143580
flang/lib/Lower/Allocatable.cpp
flang/test/Lower/allocatable-polymorphic.f90