[all-commits] [llvm/llvm-project] 01c38a: [flang] Finalize &/or destroy ABSTRACT types
Peter Klausler via All-commits
all-commits at lists.llvm.org
Fri Jul 21 12:26:54 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 01c38ab7a2ead5894d91e7f56634ffad9a9a94a4
https://github.com/llvm/llvm-project/commit/01c38ab7a2ead5894d91e7f56634ffad9a9a94a4
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2023-07-21 (Fri, 21 Jul 2023)
Changed paths:
M flang/lib/Semantics/runtime-type-info.cpp
A flang/test/Semantics/typeinfo04.f90
Log Message:
-----------
[flang] Finalize &/or destroy ABSTRACT types
The runtime type information tables always flag ABSTRACT types as
needing neither destruction in general nor finalization in particular.
This is incorrect. Although an ABSTRACT type may not itself have
a FINAL procedure -- its argument cannot be polymorphic, but
ABSTRACT types in declarations must always be so -- it can still
have finalizable components &/or components requiring deallocation.
Differential Revision: https://reviews.llvm.org/D155965
More information about the All-commits
mailing list