From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A70E1386F809; Mon, 15 Jun 2020 18:45:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A70E1386F809 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1592246703; bh=hMUhvpx5I3/Aot79Uw7OxhRhuGQvXqkR4HfwNqxN+EI=; h=From:To:Subject:Date:From; b=C5pIPPhl4KYRUNQ3aWfLlxWnHkC9+ar7UDIVdpRyG101FRC7Z/WWcij0di3DOfmvi TthqnGSZZw6AlD9bJnretXl4RkKd7KQOis3rA9tnQT2X4wX+9LY+l3p8AfEbeMhBRw rz1ZzJqes/73aQpu7bDd1IuF0rHyc9syz//UFM/E= From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/95689] New: ICE in check_sym_interfaces, at fortran/interface.c:2015 Date: Mon, 15 Jun 2020 18:45:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2020 18:45:03 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95689 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=