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

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

A few more disrupted cases :

$ cat z03.f90
select type (n%&

$ cat z04.f90
select type (n%m&

$ cat z05.f90
select type (n(

$ cat z06.f90
select type (n(&

$ cat z07.f90
select type (n(m

$ cat z08.f90
select type (n(m&

$ cat z09.f90
select type (n(:

$ cat z10.f90
select type (n[&

$ cat z11.f90
select type (n[1]

$ cat z12.f90
select type (n[m

$ cat z14.f90
select type ((n

$ cat z15.f90
select type ([n

$ cat z16.f90
select type (n==


$ gfortran-11-20200607 -c z05.f90
f951: internal compiler error: Segmentation fault
0xbc593f crash_signal
     ../../gcc/toplev.c:328
0x6ef109 gfc_find_symtree(gfc_symtree*, char const*)
     ../../gcc/fortran/symbol.c:2976
0x6ef171 gfc_delete_symtree(gfc_symtree**, char const*)
     ../../gcc/fortran/symbol.c:2957
0x6f0876 gfc_restore_last_undo_checkpoint()
     ../../gcc/fortran/symbol.c:3698
0x6a8157 reject_statement
     ../../gcc/fortran/parse.c:2633
0x6ab744 match_word
     ../../gcc/fortran/parse.c:70
0x6ab744 decode_statement
     ../../gcc/fortran/parse.c:428
0x6acf5a next_free
     ../../gcc/fortran/parse.c:1279
0x6acf5a next_statement
     ../../gcc/fortran/parse.c:1511
0x6b2708 gfc_parse_file()
     ../../gcc/fortran/parse.c:6375
0x6feb3f gfc_be_parse_file
     ../../gcc/fortran/f95-lang.c:212

Reply via email to