This is an archive of the discontinued LLVM Phabricator instance.

[flang] Check for polymorphism in DEALLOCATE statements in pure procedures
ClosedPublic

Authored by klausler on Dec 15 2022, 11:03 AM.

Details

Summary

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.

Diff Detail

Event Timeline

klausler created this revision.Dec 15 2022, 11:03 AM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Dec 15 2022, 11:03 AM
This revision is now accepted and ready to land.Dec 15 2022, 11:34 AM
This revision was landed with ongoing or failed builds.Dec 15 2022, 4:40 PM
This revision was automatically updated to reflect the committed changes.