[flang-commits] [PATCH] D139149: [flang] Check constraint C834 on INTENT(OUT) assumed-size dummy arrays

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Dec 1 14:55:03 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.

An assumed-size dummy array argument with INTENT(OUT) can't have a type
that might require any runtime (re)initialization, since the size of the
array is not known.


https://reviews.llvm.org/D139149

Files:
  flang/include/flang/Semantics/type.h
  flang/lib/Semantics/check-declarations.cpp
  flang/test/Semantics/call29.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139149.479448.patch
Type: text/x-patch
Size: 7172 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221201/0a5ff410/attachment.bin>


More information about the flang-commits mailing list