https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70158
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > Can you upgrade your version of gfortran and test > to see if the code compiles for you. For me, the > code compiles with 4.9.4, 5.3.1, and 6.0.0 For me too, but I see the ICE with 4.8.5.