[flang-commits] [PATCH] D140131: [flang] Check for elemental finalizer when defined object has vector subscript
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Thu Dec 15 11:09:53 PST 2022
klausler created this revision.
klausler added a reviewer: jeanPerier.
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.
When a defined object is an array with a vector subscript, and it has a
finalizable type, it may have a final subroutine with a matching or
assumed rank dummy argument that cannot be called. Unless there is
also a suitable elemental final subroutine, diagnose such a case
with an error message.
https://reviews.llvm.org/D140131
Files:
flang/lib/Semantics/definable.cpp
flang/test/Semantics/definable02.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140131.483248.patch
Type: text/x-patch
Size: 4364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221215/00aa52ec/attachment-0001.bin>
More information about the flang-commits
mailing list