[flang-commits] [PATCH] D140129: [flang] Check for polymorphism in DEALLOCATE statements in pure procedures
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Thu Dec 15 11:03:31 PST 2022
klausler created this revision.
klausler added a reviewer: clementval.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a reviewer: sscalpone.
Herald added a project: All.
klausler requested review of this revision.
Semantic checking for DEALLOCATE statements omitted checks for
polymorphic objects and ultimate allocatable components in a pure
procedure, which if not caught would allow execution of an impure
FINAL subroutine defined on a type extension.
https://reviews.llvm.org/D140129
Files:
flang/lib/Semantics/check-deallocate.cpp
flang/lib/Semantics/check-deallocate.h
flang/test/Semantics/deallocate07.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140129.483245.patch
Type: text/x-patch
Size: 4314 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221215/e17f9eb4/attachment.bin>
More information about the flang-commits
mailing list