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

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

Related :

$ cat z3.f90
class(t) function f()
   type f
   end type
end


$ gfortran-9-20180513 -c z3.f90
f951: internal compiler error: Segmentation fault
0xb9f4bf crash_signal
        ../../gcc/toplev.c:325
0x6de494 gfc_typename(gfc_typespec*)
        ../../gcc/fortran/misc.c:159
0x69d9b6 gfc_match_derived_decl()
        ../../gcc/fortran/decl.c:9964
0x6f7139 match_word_omp_simd
        ../../gcc/fortran/parse.c:93
0x6fb1c5 match_word
        ../../gcc/fortran/parse.c:569
0x6fb1c5 decode_statement
        ../../gcc/fortran/parse.c:569
0x6fc754 next_free
        ../../gcc/fortran/parse.c:1230
0x6fc754 next_statement
        ../../gcc/fortran/parse.c:1462
0x6fdea0 parse_spec
        ../../gcc/fortran/parse.c:3870
0x700533 parse_progunit
        ../../gcc/fortran/parse.c:5667
0x701ec1 gfc_parse_file()
        ../../gcc/fortran/parse.c:6221
0x748adf gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:204

Reply via email to