https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69860
--- Comment #11 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- And with "kind=4" instead of "kind=1", i.e. with testfile z1.f90 ? for n in `seq 1 1000` do gfortran-7-20160821 -O2 -mavx -c z1.f90 done > list 2>&1 grep 'internal compiler' list | wc 946 5676 47300 I can also confirm that ICEs are gone for z2.f90 ("kind=1").