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

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

Changed recently :


$ cat z1.f90
program p
   character :: a, b
   data a%len /1/
   data b%kind /'b'/
end


$ gfortran-9-20181104 -c z1.f90
f951: internal compiler error: Segmentation fault
0xb205df crash_signal
        ../../gcc/toplev.c:325
0x60299e var_element
        ../../gcc/fortran/decl.c:281
0x604ce4 top_var_list
        ../../gcc/fortran/decl.c:321
0x604ce4 gfc_match_data()
        ../../gcc/fortran/decl.c:598
0x66a3c1 match_word
        ../../gcc/fortran/parse.c:65
0x66db06 decode_statement
        ../../gcc/fortran/parse.c:468
0x66e72a next_free
        ../../gcc/fortran/parse.c:1234
0x66e72a next_statement
        ../../gcc/fortran/parse.c:1466
0x66fd3b parse_spec
        ../../gcc/fortran/parse.c:3858
0x672807 parse_progunit
        ../../gcc/fortran/parse.c:5671
0x673e89 gfc_parse_file()
        ../../gcc/fortran/parse.c:6211
0x6bc03f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:204

Reply via email to