https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88048
--- Comment #1 from G. Steinmetz <gs...@t-online.de> --- Invalid code nearby, down to at least gcc-5 : $ cat z4.f90 subroutine s(x) integer, allocatable :: x(:) data x(1:2) /3, 4/ end $ gfortran-9-20181111 -c z4.f90 f951: internal compiler error: Segmentation fault 0xc88aff crash_signal ../../gcc/toplev.c:325 0x626f50 gfc_get_section_index(gfc_array_ref*, __mpz_struct (*) [1], __mpz_struct (*) [1]) ../../gcc/fortran/data.c:726 0x6b506f check_data_variable ../../gcc/fortran/resolve.c:15562 0x6b54c2 traverse_data_var ../../gcc/fortran/resolve.c:15764 0x6a6f71 resolve_data ../../gcc/fortran/resolve.c:15819 0x6a6f71 resolve_types ../../gcc/fortran/resolve.c:16644 0x6abcec gfc_resolve(gfc_namespace*) ../../gcc/fortran/resolve.c:16733 0x699ab7 resolve_all_program_units ../../gcc/fortran/parse.c:6064 0x699ab7 gfc_parse_file() ../../gcc/fortran/parse.c:6314 0x6e2b7f gfc_be_parse_file ../../gcc/fortran/f95-lang.c:204