From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 51DE23858D20; Wed, 15 Mar 2023 08:17:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 51DE23858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678868254; bh=ZKgLipXfURnMKcmKqm7LAMLhxDauqh4LHxQQo2MRcTw=; h=From:To:Subject:Date:From; b=Ysw49rWDgra80AmHcl2qQDcTplKP7f92R/ahSTQJTIdc0ia+XaARG5ipWNSOpKc6E ItZyrxNqdyN60mH15+tTIo1dcYM00P6O48PjBzBKwTzWNz8oteXOwjqdp/yM/Puceh wEIrJR+OKDJPrctkzWGZtyc9HMlA6PKLEQa50sSI= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/109139] New: ice in make_decl_rtl, at varasm.cc:1442 Date: Wed, 15 Mar 2023 08:17:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109139 Bug ID: 109139 Summary: ice in make_decl_rtl, at varasm.cc:1442 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- This C code: const int COMPARE_CANDIDATE; char ipmi_ek_compare_link_record1_0, ipmi_ek_compare_link_record2_0; void ipmi_ek_compare_link() { for (; ipmi_ek_compare_link_record1_0;) for (; ipmi_ek_compare_link_record2_0;) { int link[COMPARE_CANDIDATE]; } } when compiled by today's gcc trunk, does this: $ ~/gcc/results.20230315/bin/gcc -c -w -O1 -ftrivial-auto-var-init=3Dzero bug896.c=20 during RTL pass: expand bug896.c: In function =E2=80=98ipmi_ek_compare_link=E2=80=99: bug896.c:6:11: internal compiler error: in make_decl_rtl, at varasm.cc:1442 6 | int link[COMPARE_CANDIDATE]; | ^~~~ 0x7c9502 make_decl_rtl(tree_node*) ../../trunk.year/gcc/varasm.cc:1442 It worked yesterday: $ ~/gcc/results.20230314/bin/gcc -c -w -O1 -ftrivial-auto-var-init=3Dzero bug896.c=20 $=20 The git range seems to be g:e17936f842d28854 .. g:a9ae16db8cbb2c0e.=