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

            Bug ID: 93686
           Summary: [9/10 Regression] ICE in gfc_match_data, at
                    fortran/decl.c:702
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gs...@t-online.de
  Target Milestone: ---

This changed between 20190106 and 20190113 :


$ cat z1.f90
program p
   type t
      integer :: a
   end type
   type(t), pointer :: x
   data x /t(2)/
end


$ gfortran-9-20190106 -c z1.f90 -O2
$
$ gfortran-10-20200209 -c z1.f90
f951: internal compiler error: Segmentation fault
0xbae4bf crash_signal
        ../../gcc/toplev.c:328
0x635f2c gfc_match_data()
        ../../gcc/fortran/decl.c:702
0x69ed71 match_word
        ../../gcc/fortran/parse.c:65
0x6a2dce decode_statement
        ../../gcc/fortran/parse.c:469
0x6a3b3a next_free
        ../../gcc/fortran/parse.c:1279
0x6a3b3a next_statement
        ../../gcc/fortran/parse.c:1511
0x6a518b parse_spec
        ../../gcc/fortran/parse.c:3922
0x6a7f5c parse_progunit
        ../../gcc/fortran/parse.c:5851
0x6a9639 gfc_parse_file()
        ../../gcc/fortran/parse.c:6392
0x6f42bf gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:210

Reply via email to