[flang-commits] [PATCH] D126390: [flang] Address regression (calls to assumed-length character function dummy procedures)

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed May 25 09:28:42 PDT 2022


klausler created this revision.
klausler added a reviewer: vdonaldson.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a project: All.
klausler requested review of this revision.

A recent fix beefed up semantics checking to catch the case of a call
to an external assumed-length character function; this check has false
positives in the case of an assumed-length character function that is
a dummy procedure.  These do have a length that is passed in extra
compiler-created arguments.  This patch refines the check and undoes some
changes to tests.


https://reviews.llvm.org/D126390

Files:
  flang/lib/Semantics/expression.cpp
  flang/test/Evaluate/rewrite01.f90
  flang/test/Lower/dummy-procedure-character.f90
  flang/test/Lower/host-associated.f90
  flang/test/Semantics/call01.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126390.432021.patch
Type: text/x-patch
Size: 16282 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220525/48e5b17e/attachment-0001.bin>


More information about the flang-commits mailing list