public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/95689] New: ICE in check_sym_interfaces, at fortran/interface.c:2015
@ 2020-06-15 18:45 gscfq@t-online.de
  2020-06-15 19:10 ` [Bug fortran/95689] " marxin at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: gscfq@t-online.de @ 2020-06-15 18:45 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95689
           Summary: ICE in check_sym_interfaces, at
                    fortran/interface.c:2015
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Happens between name length 37 (ok) and 38 (ICE) :


$ cat z1_37.f90
module m234567890123456789012345678901234567
   type t234567890123456789012345678901234567
   end type
   interface
      module subroutine s234567890123456789012345678901234567 &
        (x234567890123456789012345678901234567)
      end
   end interface
end
submodule(m234567890123456789012345678901234567) &
   t234567890123456789012345678901234567
end


$ cat z1_38.f90
module m2345678901234567890123456789012345678
   type t2345678901234567890123456789012345678
   end type
   interface
      module subroutine s2345678901234567890123456789012345678 &
        (x2345678901234567890123456789012345678)
      end
   end interface
end
submodule(m2345678901234567890123456789012345678) &
   t2345678901234567890123456789012345678
end


$ cat z1_42.f90
module m23456789012345678901234567890123456789012
   type t23456789012345678901234567890123456789012
   end type
   interface
      module subroutine s23456789012345678901234567890123456789012 &
        (x23456789012345678901234567890123456789012)
      end
   end interface
end
submodule(m23456789012345678901234567890123456789012) &
   t23456789012345678901234567890123456789012
end


$ cat z1_63.f90
module m23456789012345678901234567890123456789012345678901234567890123
   type t23456789012345678901234567890123456789012345678901234567890123
   end type
   interface
      module subroutine
s23456789012345678901234567890123456789012345678901234567890123 &
        (x23456789012345678901234567890123456789012345678901234567890123)
      end
   end interface
end
submodule(m23456789012345678901234567890123456789012345678901234567890123) &
   t23456789012345678901234567890123456789012345678901234567890123
end


$ gfortran-11-20200614 -c z1_37.f90
$
$ gfortran-11-20200614 -c z1_38.f90
f951: internal compiler error: Segmentation fault
0xd61fdf crash_signal
        ../../gcc/toplev.c:328
0x72a1d6 do_traverse_symtree
        ../../gcc/fortran/symbol.c:4163
0x6a40e0 gfc_check_interfaces(gfc_namespace*)
        ../../gcc/fortran/interface.c:2104
0x70f5bd resolve_types
        ../../gcc/fortran/resolve.c:17191
0x70ab9c gfc_resolve(gfc_namespace*)
        ../../gcc/fortran/resolve.c:17290
0x6f2af2 gfc_parse_file()
        ../../gcc/fortran/parse.c:6447
0x73f8cf gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:212


$ gfortran-11-20200614 -c z1_63.f90
f951: internal compiler error: Segmentation fault
0xd61fdf crash_signal
        ../../gcc/toplev.c:328
0x6a4040 check_sym_interfaces
        ../../gcc/fortran/interface.c:2015

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-06-25 18:51 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-15 18:45 [Bug fortran/95689] New: ICE in check_sym_interfaces, at fortran/interface.c:2015 gscfq@t-online.de
2020-06-15 19:10 ` [Bug fortran/95689] " marxin at gcc dot gnu.org
2020-06-15 20:21 ` [Bug fortran/95689] [8/9/10/11 Regression] " anlauf at gcc dot gnu.org
2020-06-15 20:48 ` anlauf at gcc dot gnu.org
2020-06-16  6:40 ` rguenth at gcc dot gnu.org
2020-06-20 14:10 ` cvs-commit at gcc dot gnu.org
2020-06-22 19:30 ` cvs-commit at gcc dot gnu.org
2020-06-23 20:21 ` cvs-commit at gcc dot gnu.org
2020-06-23 20:40 ` cvs-commit at gcc dot gnu.org
2020-06-23 20:42 ` anlauf at gcc dot gnu.org
2020-06-24 20:41 ` cvs-commit at gcc dot gnu.org
2020-06-24 20:45 ` cvs-commit at gcc dot gnu.org
2020-06-25 18:51 ` anlauf at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).