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

            Bug ID: 95611
           Summary: ICE in access_attr_decl, at fortran/decl.c:9075
           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: ---

Affects versions down to at least r5, with a doubled statement :


$ cat z1.f90
module m
   public operator (.a.)
   public operator (.a.)
end


$ gfortran-11-20200607 -c z1.f90
f951: internal compiler error: Segmentation fault
0xbc593f crash_signal
     ../../gcc/toplev.c:328
0x63c87b access_attr_decl
     ../../gcc/fortran/decl.c:9075
0x6acbca decode_statement
     ../../gcc/fortran/parse.c:544
0x6acf5a next_free
     ../../gcc/fortran/parse.c:1279
0x6acf5a next_statement
     ../../gcc/fortran/parse.c:1511
0x6ae5ab parse_spec
     ../../gcc/fortran/parse.c:3922
0x6b257e parse_module
     ../../gcc/fortran/parse.c:6115
0x6b28c7 gfc_parse_file()
     ../../gcc/fortran/parse.c:6428
0x6feb3f gfc_be_parse_file
     ../../gcc/fortran/f95-lang.c:212

Reply via email to