From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 14FE5394880C; Tue, 12 May 2020 16:43:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 14FE5394880C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1589301788; bh=mK1nJpPHe2tgUdRP736+dkxO+yxTTpU/BHkORpDsB7s=; h=From:To:Subject:Date:From; b=gQKcUKUl8u6ytzMopEvPGyzv2aZqBkcI4Ah10a3cI7Ge3+ES8QTiqTP6u84v5qxk2 e5X9Gxqf6S5r4wofivcoPYMc3ykrLwl31dIo2JjQkA1eF0pJGBctgNGi8DNvjvH69+ dWedJIOXYMVZR7WH7EIaCSqV4ZNmfFD4MYl5yTk4= From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/95090] New: ICE: identifier overflow: 129 Date: Tue, 12 May 2020 16:43:07 +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: Tue, 12 May 2020 16:43:08 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95090 Bug ID: 95090 Summary: ICE: identifier overflow: 129 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: --- Switches between name length 54 (ok) and 55 (ICE) : $ cat z1_54.f90 module m23456789012345678901234567890123456789012345678901234 type t23456789012345678901234567890123456789012345678901234 & (n23456789012345678901234567890123456789012345678901234) integer, len :: n2345678901234567890123456789012345678901234567890123= 4 =3D 8 end type integer :: a23456789012345678901234567890123456789012345678901234 integer :: b23456789012345678901234567890123456789012345678901234(3)[*] data b23456789012345678901234567890123456789012345678901234 /1,2,3/ contains subroutine s23456789012345678901234567890123456789012345678901234 type(t23456789012345678901234567890123456789012345678901234 & (n23456789012345678901234567890123456789012345678901234)) :: & z23456789012345678901234567890123456789012345678901234 end end $ cat z1_55.f90 module m234567890123456789012345678901234567890123456789012345 type t234567890123456789012345678901234567890123456789012345 & (n234567890123456789012345678901234567890123456789012345) integer, len :: n2345678901234567890123456789012345678901234567890123= 45 =3D 8 end type integer :: a234567890123456789012345678901234567890123456789012345 integer :: b234567890123456789012345678901234567890123456789012345(3)[*] data b234567890123456789012345678901234567890123456789012345 /1,2,3/ contains subroutine s234567890123456789012345678901234567890123456789012345 type(t234567890123456789012345678901234567890123456789012345 & (n234567890123456789012345678901234567890123456789012345)) :: & z234567890123456789012345678901234567890123456789012345 end end $ cat z1_63.f90 module m23456789012345678901234567890123456789012345678901234567890123 type t23456789012345678901234567890123456789012345678901234567890123 & (n23456789012345678901234567890123456789012345678901234567890123) integer, len :: n23456789012345678901234567890123456789012345678901234567890123 =3D 8 end type integer :: a234567890123456789012345678901234567890123456789012345678901= 23 integer :: b23456789012345678901234567890123456789012345678901234567890123(3)[*] data b23456789012345678901234567890123456789012345678901234567890123 /1,= 2,3/ contains subroutine s234567890123456789012345678901234567890123456789012345678901= 23 type(t23456789012345678901234567890123456789012345678901234567890123 & (n23456789012345678901234567890123456789012345678901234567890123))= :: & z23456789012345678901234567890123456789012345678901234567890123 end end $ cat z1_63_clean.f90 module m23456789012345678901234567890123456789012345678901234567890123 type t23456789012345678901234567890123456789012345678901234567890123 & (n23456789012345678901234567890123456789012345678901234567890123) integer, len :: n23456789012345678901234567890123456789012345678901234567890123 =3D 8 end type integer :: a234567890123456789012345678901234567890123456789012345678901= 23 integer :: b23456789012345678901234567890123456789012345678901234567890123(3)[*] data b23456789012345678901234567890123456789012345678901234567890123 /1,= 2,3/ contains subroutine s234567890123456789012345678901234567890123456789012345678901= 23 type(t23456789012345678901234567890123456789012345678901234567890123 & (3)) :: & z23456789012345678901234567890123456789012345678901234567890123 end end $ gfortran-11-20200510 -c z1_54.f90 -fcoarray=3Dlib $ gfortran-11-20200510 -c z1_55.f90 -fcoarray=3Dsingle $ $ gfortran-11-20200510 -c z1_55.f90 -fcoarray=3Dlib f951: internal compiler error: identifier overflow: 129 0x64db59 gfc_report_diagnostic ../../gcc/fortran/error.c:782 0x64f27a gfc_internal_error(char const*, ...) ../../gcc/fortran/error.c:1402 0x676b1f gfc_get_string(char const*, ...) ../../gcc/fortran/iresolve.c:69 0x71bb8a gfc_build_qualified_array ../../gcc/fortran/trans-decl.c:994 0x720d24 gfc_get_symbol_decl(gfc_symbol*) ../../gcc/fortran/trans-decl.c:1793 0x723b58 gfc_create_module_variable ../../gcc/fortran/trans-decl.c:5297 0x6e2f72 do_traverse_symtree ../../gcc/fortran/symbol.c:4147 0x72435b gfc_generate_module_vars(gfc_namespace*) ../../gcc/fortran/trans-decl.c:5796 0x6fed94 gfc_generate_module_code(gfc_namespace*) ../../gcc/fortran/trans.c:2238 0x6abd11 translate_all_program_units ../../gcc/fortran/parse.c:6293 0x6abd11 gfc_parse_file() ../../gcc/fortran/parse.c:6545 0x6f7a7f gfc_be_parse_file ../../gcc/fortran/f95-lang.c:210=