https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80235
--- Comment #2 from Anton Shterenlikht <mexas at bristol dot ac.uk> --- Can be triggered also with gfortran7 directly: $ gfortran7 -c -fcoarray=lib m.f90 $ gfortran7 -c -fcoarray=lib sm.f90 sm.f90:22:0: maxfe = size( cgca_pfem_centroid_tmp%r, dim=2 ) internal compiler error: Segmentation fault