https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67542
Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ICE on initializing type |ICE in |variable with a longer |gfc_emit_parameter_debug_in |array |fo, at | |fortran/trans-decl.c:4947 | |and :4945 --- Comment #7 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- The problems are gone for examples z1, z2, z3 (and others), but still there for examples z4, z5, z6. Volatile and transient, for different runs and different options. Summary line adjusted. One example -- but not limited to -std=f2008 nor depending on it : $ for n in `seq 1 100` $ do $ gfortran-7-20160731 -std=f2008 -c z6.f90 $ done $ gfortran-7-20160731 -std=f2008 -c z6.f90 z6.f90:10:0: end internal compiler error: Segmentation fault 0xc1436f crash_signal ../../gcc/toplev.c:335 0x73cb13 gfc_emit_parameter_debug_info ../../gcc/fortran/trans-decl.c:4947 0x706ddb do_traverse_symtree ../../gcc/fortran/symbol.c:3930 0x74bfc5 gfc_generate_function_code(gfc_namespace*) ../../gcc/fortran/trans-decl.c:6381 0x6d7610 translate_all_program_units ../../gcc/fortran/parse.c:5916 0x6d7610 gfc_parse_file() ../../gcc/fortran/parse.c:6122 0x719b32 gfc_be_parse_file ../../gcc/fortran/f95-lang.c:198 --- $ gfortran-7-20160731 -std=f2008 -c z4.f90 z4.f90:9:0: end internal compiler error: Segmentation fault 0xc1436f crash_signal ../../gcc/toplev.c:335 0x73ad38 gfc_conv_const_charlen(gfc_charlen*) ../../gcc/fortran/trans-const.c:182 0x73cb01 gfc_emit_parameter_debug_info ../../gcc/fortran/trans-decl.c:4945 0x706ddb do_traverse_symtree ../../gcc/fortran/symbol.c:3930 0x74bfc5 gfc_generate_function_code(gfc_namespace*) ../../gcc/fortran/trans-decl.c:6381 0x6d7610 translate_all_program_units ../../gcc/fortran/parse.c:5916 0x6d7610 gfc_parse_file() ../../gcc/fortran/parse.c:6122 0x719b32 gfc_be_parse_file ../../gcc/fortran/f95-lang.c:198