summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorValentin Clement <clementval@gmail.com>2022-11-04 08:18:47 +0100
committerValentin Clement <clementval@gmail.com>2022-11-04 08:20:08 +0100
commitde1aced75942eacd59ba46b131311a6bbbe4d0f2 (patch)
treeb8e075f84789a6de3f48d36c436b09556bd3cb22 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent4eea884959498b283335f18fc7899ba022bcb881 (diff)
[flang] Handle non derived-type unlimited polymorphic allocation
Runtime call to PointerNullifyDerived or AllocatableInitDerived should only be generated for derived-type allocation of polymorphic entities. With unlimited polymorphic entities, it is possible that the type spec is not a derived-type. Avoid failure in that case. Reviewed By: PeteSteinfeld Differential Revision: https://reviews.llvm.org/D137353
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions