http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58813
--- Comment #8 from Vittorio Zecca <zeccav at gmail dot com> --- If I use the option -fmax-errors=1 the ICE disappears, but using this option as a default would potentially increase the time needed to get an error free code. A code containing many errors would require as many iterations of error fixing and compilation. I believe gfortran makes an excellent job at recovering from source errors and issuing as many as possible meaningful error messages. This code is a special case where gfortran fails while recovering, in my opinion this case should be fixed to keep the current unlimited default for -fmax-errors.