https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29616
--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- Compiling the test in comment 0 with -fcheck=all gives At line 5 of file pr29616.f90 Fortran runtime error: Pointer actual argument 'r' is not associated since at least 4.8.