[PATCH] D94017: [flang] Fix bogus message on internal subprogram with alternate return

Pete Steinfeld via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 6 12:34:26 PST 2021


PeteSteinfeld updated this revision to Diff 314960.
PeteSteinfeld added a comment.
Herald added a reviewer: sscalpone.

With Peter's guidance, I changed the definition of actual arguments to allow
for the value of a statement label and changed the code that processes actual
arguments to put the value of the label into the actual argument.

I also verified that we were already doing the semantic checking required for
alternate returns and added another test.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94017/new/

https://reviews.llvm.org/D94017

Files:
  flang/include/flang/Evaluate/call.h
  flang/lib/Evaluate/call.cpp
  flang/lib/Evaluate/formatting.cpp
  flang/lib/Semantics/check-call.cpp
  flang/lib/Semantics/expression.cpp
  flang/test/Semantics/altreturn06.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94017.314960.patch
Type: text/x-patch
Size: 5652 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210106/914151ab/attachment.bin>


More information about the llvm-commits mailing list