diff --git a/flang/lib/Lower/CallInterface.cpp b/flang/lib/Lower/CallInterface.cpp index 241a6adc0a88f..adb6593902fb6 100644 --- a/flang/lib/Lower/CallInterface.cpp +++ b/flang/lib/Lower/CallInterface.cpp @@ -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() ==