https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83275

--- Comment #2 from G. Steinmetz <gs...@t-online.de> ---

$ cat z5.f90
program p
   type t(a)
      allocate (a)
   end type
end


$ gfortran-8-20171203 -c z5.f90
f951: internal compiler error: Segmentation fault
0xb6a96f crash_signal
        ../../gcc/toplev.c:325
0x6fc247 gfc_impure_variable(gfc_symbol*)
        ../../gcc/fortran/resolve.c:15599
0x6c8878 gfc_match_allocate()
        ../../gcc/fortran/match.c:4048
0x6e6059 match_word_omp_simd
        ../../gcc/fortran/parse.c:93
0x6e9e89 match_word
        ../../gcc/fortran/parse.c:439
0x6e9e89 decode_statement
        ../../gcc/fortran/parse.c:439
0x6eb544 next_free
        ../../gcc/fortran/parse.c:1225
0x6eb544 next_statement
        ../../gcc/fortran/parse.c:1457
0x6ecabd parse_derived
        ../../gcc/fortran/parse.c:3255
0x6ecabd parse_spec
        ../../gcc/fortran/parse.c:3796
0x6ef323 parse_progunit
        ../../gcc/fortran/parse.c:5638
0x6f08e4 gfc_parse_file()
        ../../gcc/fortran/parse.c:6178
0x73537f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:204

Reply via email to