https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68283
--- Comment #8 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> --- (In reply to Dominique d'Humieres from comment #6) > For some reason, the ICE requires to use at least -O. yes, I noticed this as well, I think this is one of the fortran frontend optimization passes.