http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56054
Bug #: 56054 Summary: f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: joost.vandevond...@mat.ethz.ch gcc (4.8, 4.7, 4.6) ICEs on this invalid piece of code > cat small.f90 module kernels select type (args) end module kernels f951: internal compiler error: in gfc_free_namespace, at fortran/symbol.c:3337 0x5ccc61 gfc_free_namespace(gfc_namespace*) ../../gcc/gcc/fortran/symbol.c:3337 0x5cd1df gfc_symbol_done_2() ../../gcc/gcc/fortran/symbol.c:3384 0x5899e8 gfc_done_2() ../../gcc/gcc/fortran/misc.c:267 0x596a0a clean_up_modules ../../gcc/gcc/fortran/parse.c:4416 0x59cec3 translate_all_program_units ../../gcc/gcc/fortran/parse.c:4486 0x59cec3 gfc_parse_file() ../../gcc/gcc/fortran/parse.c:4677 0x5da115 gfc_be_parse_file ../../gcc/gcc/fortran/f95-lang.c:189 Please submit a full bug report,