https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77380
--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- No ICE with -fcoarray=single : $ gfortran-7-20160821 -O2 -fcoarray=single z1.f90 z1.f90:3:14: z(:)[1] = z(:)[*] 1 Error: Coindex of codimension 1 must be a scalar at (1) Bailed out with 5, 6 (official, --enable-checking=release) : $ gfortran-6 -O2 -fcoarray=lib z1.f90 z1.f90:3:14: z(:)[1] = z(:)[*] 1 Error: Coindex of codimension 1 must be a scalar at (1) (null):0: confused by earlier errors, bailing out