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

            Bug ID: 91864
           Summary: [9/10 Regression] ICE in gfc_check_do_variable, at
                    fortran/parse.c:4405
           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: ---

Changed between 20181028 and 20181104 :


$ cat z1.f90
program p
   integer :: i
   read (*,*) i%kind
end


$ gfortranc-10-20190922 -c z1.f90
f951: internal compiler error: Segmentation fault
0xb5b62f crash_signal
        ../../gcc/toplev.c:326
0x67b458 gfc_check_do_variable(gfc_symtree*)
        ../../gcc/fortran/parse.c:4405
0x6429e4 match_io_element
        ../../gcc/fortran/io.c:3689
0x645295 match_io_list
        ../../gcc/fortran/io.c:3722
0x6456a4 match_io
        ../../gcc/fortran/io.c:4421
0x674581 match_word
        ../../gcc/fortran/parse.c:65
0x6784d2 decode_statement
        ../../gcc/fortran/parse.c:551
0x6789ca next_free
        ../../gcc/fortran/parse.c:1251
0x6789ca next_statement
        ../../gcc/fortran/parse.c:1483
0x679feb parse_spec
        ../../gcc/fortran/parse.c:3881
0x67cddc parse_progunit
        ../../gcc/fortran/parse.c:5800
0x67e4a9 gfc_parse_file()
        ../../gcc/fortran/parse.c:6340
0x6c8a8f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:204

Reply via email to