We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54c0158 commit 808fb20Copy full SHA for 808fb20
flang/include/flang/Lower/CallInterface.h
@@ -284,6 +284,9 @@ class CallerInterface : public CallInterface<CallerInterface> {
284
CallerInterface(const Fortran::evaluate::ProcedureRef &p,
285
Fortran::lower::AbstractConverter &c)
286
: CallInterface{c}, procRef{p} {
287
+ // Ensure that procRef gathers necessary information to determine the
288
+ // need for copy-in and copy-out
289
+ const_cast<Fortran::evaluate::ProcedureRef &>(procRef).DetermineCopyInOut();
290
declare();
291
mapPassedEntities();
292
actualInputs.resize(getNumFIRArguments());
0 commit comments