[flang-commits] [PATCH] D117577: [flang] Better messages for function vs. array errors

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue Jan 18 09:41:24 PST 2022


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

When a scalar-valued function with no distinct RESULT
is being called recursively in its own executable part,
emit a better message about the error.  Clean up the
code that resolves function vs. array ambiguities in
expression semantics.


https://reviews.llvm.org/D117577

Files:
  flang/include/flang/Semantics/tools.h
  flang/lib/Semantics/expression.cpp
  flang/lib/Semantics/tools.cpp
  flang/test/Semantics/resolve59.f90
  flang/test/Semantics/resolve93.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117577.400883.patch
Type: text/x-patch
Size: 7022 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220118/15c56837/attachment-0001.bin>


More information about the flang-commits mailing list