From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E75B83858D32; Tue, 18 Oct 2022 03:33:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E75B83858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666064006; bh=JrNtLyz3xzhSJvDPLhIrMz3m71t3MCQCxRoeMMna2FI=; h=From:To:Subject:Date:From; b=ixDfTBmDE1DXWRJmOHTWpZs4s7XGSkuEAVplGoHcR/ED8okS+8FphzKBs0i5R0M/g KfIsTdjV/zLWD4eJqCsDIzlvrOgxBJGa9aYbRvKZ8aHoea2ql7Id0CaApnUczVhDcb FUd8nCnoJvQoFiRzXncVUIN+PdcGXuKnKUKB6ccc= From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107300] New: ICE: verify_ssa failed (error: virtual definition of statement not up to date) Date: Tue, 18 Oct 2022 03:33:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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 keywords 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=3D107300 Bug ID: 107300 Summary: ICE: verify_ssa failed (error: virtual definition of statement not up to date) Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- gcc 13.0.0 20221016 snapshot (g:6366e3e8847af98d4728d55951534769d034d02a) I= CEs when compiling the following testcase, reduced from gcc/testsuite/gcc.c-torture/execute/pr81281.c, w/ -O2 -fipa-cp-clone -funreachable-traps -fno-inline: void bar (int x, int y) { if (x) __builtin_unreachable (); if (y) __builtin_abort (); } void foo (void) { bar (0, 0); } % gcc-13 -O2 -fipa-cp-clone -funreachable-traps -fno-inline -c bppprfmm.c bppprfmm.c: In function 'bar.constprop': bppprfmm.c:2:1: error: virtual definition of statement not up to date 2 | bar (int x, int y) | ^~~ __builtin_trap (); during GIMPLE pass: fixup_cfg bppprfmm.c:2:1: internal compiler error: verify_ssa failed 0x1155fd5 verify_ssa(bool, bool) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20221016/work/gcc-13-20221016/gcc/tr= ee-ssa.cc:1211 0xe0737d execute_function_todo =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20221016/work/gcc-13-20221016/gcc/pa= sses.cc:2098 0xe077ae execute_todo =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20221016/work/gcc-13-20221016/gcc/pa= sses.cc:2145=