https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82994
--- Comment #1 from G. Steinmetz <gs...@t-online.de> --- Now allocated, but still not declared allocatable : (here gcc-chk was configured with --enable-checking=yes) $ cat z2.f90 program p type t end type class(t) :: x allocate (x) deallocate (x) end $ gfortran-8-20171112-chk -c z2.f90 z2.f90:5:13: allocate (x) 1 Error: Allocate-object at (1) is neither a data pointer nor an allocatable variable f951: internal compiler error: Segmentation fault 0xcaca2f crash_signal ../../gcc/toplev.c:325 0x6ee643 gfc_match_deallocate() ../../gcc/fortran/match.c:4478 0x70b309 match_word_omp_simd ../../gcc/fortran/parse.c:93 0x70fd4f match_word ../../gcc/fortran/parse.c:466 0x70fd4f decode_statement ../../gcc/fortran/parse.c:466 0x7107f4 next_free ../../gcc/fortran/parse.c:1225 0x7107f4 next_statement ../../gcc/fortran/parse.c:1457 0x7120dc parse_spec ../../gcc/fortran/parse.c:3834 0x7145d3 parse_progunit ../../gcc/fortran/parse.c:5637 0x715b94 gfc_parse_file() ../../gcc/fortran/parse.c:6177 0x75b20f gfc_be_parse_file ../../gcc/fortran/f95-lang.c:204