I was trying to pass an array to a subroutine, declared in the subroutine as an assumed shape array. That was giving me some problems that I have been able to solve by passing a pointer instead.
But some user with a high reputation tells me in a comment:
Adding pointer is also a reasonable way of telling the compilers optimiser that it doesn't have to do any work today.
Could anyone offer a short explanation on this? The language is Fortran 95, though I believe this applies to other languages.