https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97455
G. Steinmetz <gs...@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gs...@t-online.de --- Comment #2 from G. Steinmetz <gs...@t-online.de> --- Update, backtrace and a variation : $ cat z1.f90 subroutine s select type (x => x(:)) end select end $ cat z2.f90 subroutine s select type (x ==> x) end select end $ gfortran-11-20210328 -c z1.f90 f951: internal compiler error: Segmentation fault 0xc09d4f crash_signal ../../gcc/toplev.c:327 0x6576ba delete_root ../../gcc/fortran/bbt.c:150 0x65787e gfc_delete_bbt(void*, void*, int (*)(void*, void*)) ../../gcc/fortran/bbt.c:197 0x7224d8 gfc_delete_symtree(gfc_symtree**, char const*) ../../gcc/fortran/symbol.c:2962 0x723bd6 gfc_restore_last_undo_checkpoint() ../../gcc/fortran/symbol.c:3706 0x6dab47 reject_statement ../../gcc/fortran/parse.c:2678 0x6de324 match_word ../../gcc/fortran/parse.c:70 0x6de324 decode_statement ../../gcc/fortran/parse.c:428 0x6dfb3c next_free ../../gcc/fortran/parse.c:1316 0x6dfb3c next_statement ../../gcc/fortran/parse.c:1548 0x6e1f04 parse_spec ../../gcc/fortran/parse.c:3783 0x6e3f7c parse_progunit ../../gcc/fortran/parse.c:5896 0x6e5a20 gfc_parse_file() ../../gcc/fortran/parse.c:6444 0x7320ef gfc_be_parse_file ../../gcc/fortran/f95-lang.c:212