https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87337
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-10-21 Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > Seems to at least compile properly with GCC 9, FWIW. It compiles also with 7.3 and 8.2. At run time I get At line 341 of file pr87337.f90 Fortran runtime error: Attempt to DEALLOCATE unallocated 'f' if the code is complied with -fcoarray=lib -lcaf_single. If I add -fcheck=all, I get At line 341 of file pr87337.f90 Fortran runtime error: Index '127' of dimension 1 of array 'f' above upper bound of 126