http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50627
Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tkoenig at gcc dot gnu.org Summary|[OOP] Error recovery: ICE |Error recovery: ICE in |in gfc_free_namespace after |gfc_free_namespace after |properly diagnosing bogus |diagnosing missing end of |SELECT TYPE in MODULE |construct --- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2011-10-09 18:12:31 UTC --- Simpler test case: ig25@linux-fd1f:~/Krempel/OMP> cat block.f90 program main block end program main ig25@linux-fd1f:~/Krempel/OMP> gfortran block.f90 block.f90:3.3: end program main 1 Error: Expecting END BLOCK statement at (1) Error: Unexpected end of file in 'block.f90' f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3259 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.