From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 604A23858C83; Mon, 25 Apr 2022 16:15:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 604A23858C83 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/105380] ICE in gfc_conv_array_initializer, at fortran/trans-array.cc:6317 Date: Mon, 25 Apr 2022 16:15:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: ice-on-valid-code 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: keywords Message-ID: In-Reply-To: References: 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, 25 Apr 2022 16:15:48 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105380 G. Steinmetz changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code --- Comment #1 from G. Steinmetz --- On the other hand, test versions are affected down to r8 : (gcc configured with --enable-checking=3Dyes) $ gfortran-12-20220424 -c z1.f90 z1.f90:10:3: 10 | end | 1 internal compiler error: tree check: expected array_type, have record_type = in gfc_conv_array_initializer, at fortran/trans-array.cc:6317 0x6addd6 tree_check_failed(tree_node const*, char const*, int, char const*, ...) ../../gcc/tree.cc:8798 0x7fc3f2 tree_check(tree_node*, char const*, int, char const*, tree_code) ../../gcc/tree.h:3457 0x7fc3f2 gfc_conv_array_initializer(tree_node*, gfc_expr*) ../../gcc/fortran/trans-array.cc:6317 0x842b00 gfc_conv_initializer(gfc_expr*, gfc_typespec*, tree_node*, bool, b= ool, bool) ../../gcc/fortran/trans-expr.cc:8393 0x842f20 gfc_conv_structure(gfc_se*, gfc_expr*, int) ../../gcc/fortran/trans-expr.cc:9308 0x842c59 gfc_conv_initializer(gfc_expr*, gfc_typespec*, tree_node*, bool, b= ool, bool) ../../gcc/fortran/trans-expr.cc:8428 0x814170 gfc_emit_parameter_debug_info ../../gcc/fortran/trans-decl.cc:5513 0x7d0742 do_traverse_symtree ../../gcc/fortran/symbol.cc:4174 0x826bc3 gfc_generate_function_code(gfc_namespace*) ../../gcc/fortran/trans-decl.cc:7818 0x7984ce translate_all_program_units ../../gcc/fortran/parse.cc:6669 0x7984ce gfc_parse_file() ../../gcc/fortran/parse.cc:6956 0x7e653f gfc_be_parse_file ../../gcc/fortran/f95-lang.cc:216=