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

            Bug ID: 95340
           Summary: [10/11 Regression] ICE in gfc_match_select_rank, at
                    fortran/match.c:6690
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gs...@t-online.de
  Target Milestone: ---

With a missing attribute allocatable or pointer;
occurred between 20190825 (error) and 20190901 (ICE) :


$ cat z1.f90
program p
   type t
   end type
   class(t) :: z
   select rank (z)
   end select
end


$ gfortran-11-20200524 -c z1.f90
f951: internal compiler error: Segmentation fault
0xbc0f6f crash_signal
        ../../gcc/toplev.c:328
0x689bef gfc_match_select_rank()
        ../../gcc/fortran/match.c:6690
0x6a860e match_word
        ../../gcc/fortran/parse.c:65
0x6a860e decode_statement
        ../../gcc/fortran/parse.c:429
0x6a9e1a next_free
        ../../gcc/fortran/parse.c:1279
0x6a9e1a next_statement
        ../../gcc/fortran/parse.c:1511
0x6ab46b parse_spec
        ../../gcc/fortran/parse.c:3922
0x6ae23c parse_progunit
        ../../gcc/fortran/parse.c:5851
0x6af919 gfc_parse_file()
        ../../gcc/fortran/parse.c:6392
0x6fb9af gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:210

Reply via email to