[Bug fortran/95980] ICE in get_unique_type_string, at fortran/class.c:485

gscfq@t-online.de gcc-bugzilla@gcc.gnu.org
Mon Jun 29 17:54:21 GMT 2020


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code

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


Related (and presumably also pr86551) :


$ cat z2.f90
program p
   type t
   end type
   class(t) :: x
   select type (y => x)
   end select
end


$ gfortran-11-20200628 -c z2.f90
f951: internal compiler error: Segmentation fault
0xbd215f crash_signal
        ../../gcc/toplev.c:328
0x686d9b copy_ts_from_selector_to_associate
        ../../gcc/fortran/match.c:6162
0x68f543 gfc_match_select_type()
        ../../gcc/fortran/match.c:6422
0x6ae2b4 match_word
        ../../gcc/fortran/parse.c:65
0x6ae2b4 decode_statement
        ../../gcc/fortran/parse.c:428
0x6afaea next_free
        ../../gcc/fortran/parse.c:1280
0x6afaea next_statement
        ../../gcc/fortran/parse.c:1512
0x6b113b parse_spec
        ../../gcc/fortran/parse.c:3923
0x6b3f0c parse_progunit
        ../../gcc/fortran/parse.c:5852
0x6b55e9 gfc_parse_file()
        ../../gcc/fortran/parse.c:6393
0x7016ff gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:212


More information about the Gcc-bugs mailing list