https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77785
Anton Shterenlikht <mexas at bristol dot ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mexas at bristol dot ac.uk --- Comment #6 from Anton Shterenlikht <mexas at bristol dot ac.uk> --- I can reproduce on FreeBSD 11.0-RELEASE-p2 amd64, with gcc7-devel-7.0.0.s20161002 installed via pkg. gfortran7 -c -fcoarray=lib -Wall -fPIC -fall-intrinsics -I/usr/local/include cgca_m1co.f90 gfortran7 -c -fcoarray=lib -Wall -fPIC -fall-intrinsics -I/usr/local/include cgca_m2stat.f90 cgca_m2stat.f90:174:0: gv = gv - gvimg1 internal compiler error: in gfc_get_caf_token_offset, at fortran/trans-expr.c:1990 https://sourceforge.net/p/cgpack/code/HEAD/tree/head/cgca_m2stat.f90 https://sourceforge.net/p/cgpack/code/HEAD/tree/head/cgca_m1co.f90 gcc6-6.2.0 compiles ok.