[Bug fortran/88328] New: ICE in resolve_tag_format, at fortran/io.c:1641

gscfq@t-online.de gcc-bugzilla@gcc.gnu.org
Mon Dec 3 18:51:00 GMT 2018


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

            Bug ID: 88328
           Summary: ICE in resolve_tag_format, at fortran/io.c:1641
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Affects versions down to at least gcc-5 :


$ cat z1.f90
program p
   character(3), parameter :: a(0) = [character(3)::]
   print a
end


$ gfortran-9-20181202 -c z1.f90
f951: internal compiler error: Segmentation fault
0xb2ec9f crash_signal
        ../../gcc/toplev.c:326
0x63ddee resolve_tag_format
        ../../gcc/fortran/io.c:1641
0x63ddee resolve_tag
        ../../gcc/fortran/io.c:1747
0x641f37 gfc_resolve_dt(gfc_dt*, locus*)
        ../../gcc/fortran/io.c:3239
0x6860a7 gfc_resolve_code(gfc_code*, gfc_namespace*)
        ../../gcc/fortran/resolve.c:11579
0x688b0f resolve_codes
        ../../gcc/fortran/resolve.c:16704
0x688bde gfc_resolve(gfc_namespace*)
        ../../gcc/fortran/resolve.c:16739
0x676967 resolve_all_program_units
        ../../gcc/fortran/parse.c:6067
0x676967 gfc_parse_file()
        ../../gcc/fortran/parse.c:6317
0x6bf5ff gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:204


More information about the Gcc-bugs mailing list