I have modified source code of dynamicload.f90 sample and I am debugging in VisualStudio 2015 update 3 professional. Intel Fortran compiler is parallel studio XE2016 update 4.
Relevant Code lines are:
integer :: iarg
end subroutine METH00
Ok - since you said you modified the code I wanted to make sure that I knew what code you were talking about. I can reproduce the issue. I am sure that one of the Intel folks will pick this up and send it on to the developers,
Thank you Luigi and Steve. I also reproduced this and escalated it to the Developers. I will post progress on a resolution as I learn it.
(Internal tracking id: DPD200418508)