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

G. Steinmetz <gs...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |82173

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

$ cat z2.f90
program p
   type t()
   end type
   type, extends(t) :: t2
   end type
end


$ gfortran-8-20171203 -c z2.f90
f951: internal compiler error: Segmentation fault
0xb6a96f crash_signal
        ../../gcc/toplev.c:325
0x68dca4 gfc_match_derived_decl()
        ../../gcc/fortran/decl.c:9905
0x6e6059 match_word_omp_simd
        ../../gcc/fortran/parse.c:93
0x6ea06b match_word
        ../../gcc/fortran/parse.c:565
0x6ea06b decode_statement
        ../../gcc/fortran/parse.c:565
0x6eb544 next_free
        ../../gcc/fortran/parse.c:1225
0x6eb544 next_statement
        ../../gcc/fortran/parse.c:1457
0x6ece2c parse_spec
        ../../gcc/fortran/parse.c:3835
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


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82173
[Bug 82173] [meta-bug] Parameterized derived type errors

Reply via email to