Skip to content

Commit

Permalink
[flang][NFC] Add todo in CallInterface
Browse files Browse the repository at this point in the history
Add a todo for assumed shape dummy argument with VALUE attribute
since this is not implemented yet.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: jeanPerier

Differential Revision: https://reviews.llvm.org/D121581
  • Loading branch information
clementval committed Mar 14, 2022
1 parent a5f1262 commit f5b29a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flang/lib/Lower/CallInterface.cpp
Expand Up @@ -836,6 +836,8 @@ class Fortran::lower::CallInterfaceImpl {
addPassedArg(PassEntityBy::MutableBox, entity, characteristics);
} else if (dummyRequiresBox(obj)) {
// Pass as fir.box
if (isValueAttr)
TODO(loc, "assumed shape dummy argument with VALUE attribute");
addFirOperand(boxType, nextPassedArgPosition(), Property::Box, attrs);
addPassedArg(PassEntityBy::Box, entity, characteristics);
} else if (dynamicType.category() ==
Expand Down

0 comments on commit f5b29a7

Please sign in to comment.