From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 20C7138582B4; Tue, 6 Sep 2022 21:39:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 20C7138582B4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1662500369; bh=04G+in9dtDI6l2jnxBhsbCqN02rd/+5EFshpX2xf0dY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=NXhstrw6sm+rwpYWXU5sP8hjV6gew8zjvD3yLt0A3rQqSxwksqAcpMsvRmrRhhF9D CksfPjYP2ZLjLGCVzLO4yCNvC0LY6V9rlaQDq9s18KqOFs4gfYwuIP7EfV0oIYBTtp LpkdrcMFqWmeV7OPmkFzj7NgtRGAY5RADH3LjdvI= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/106862] ice in compute_control_dep_chain, at gimple-predicate-analysis.cc:1105 Date: Tue, 06 Sep 2022 21:39:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 12.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: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106862 --- Comment #2 from David Binderman --- Reduced C++ code seems to be: extern fprintf(char); struct string { string(char); }; struct { call(); replace(string); } vsllib; struct ListNode { ListNode(); }; struct TestNode { TestNode(int); }; typedef struct { *node; } YYSTYPE; int vsldebug, VSLLib_parse_vsln, VSLLib_parse_vslvsp_4294967293_0_0; VSLLib_parse() { YYSTYPE *vslvsp; vslnewstate: switch (VSLLib_parse_vsln) { case 13: vslvsp =3D 0; case 6: string(""); case 35: delete vslvsp; VSLLib_parse_vslvsp_4294967293_0_0 &&vslvsp[0].node ? new ListNode : 0; case 72: delete vslvsp; case 75: vslvsp ? vsllib.call() : 0; case 9: vsllib.call(); case 1: vsllib.call(); case 3: vsllib.call(); case 5: vsllib.call(); case 7: vsllib.call(); case 0: vsllib.call(); case 2: VSLLib_parse_vslvsp_4294967293_0_0 &&vslvsp[0].node ? new TestNode(new = int) : 0; string func_name =3D vsllib.replace(func_name) && vsllib.replace(0); delete vslvsp; } ++vslvsp; if (vsldebug) fprintf(""); goto vslnewstate; }=