From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C16343858C50; Tue, 18 Oct 2022 07:32:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C16343858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666078348; bh=5yuRg874BGw6H3WxQoixgxfcxRuIl9yC6W0Ci40ZRcw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fNLgzkqe6lZLyYFQFa8WPsBAWMQtnyG+SxVf0CcsJqyaBGJQjRVH2ZqlJrGsMXFSz PLjfcBEpP3u960QvbD7lcpNl4qMzCa3IQSXbi7JgYdlELOmtfYdK2OHslEVf24xfyw j7h+WPwsLNMjRa9QWZTF6f0I4Lj6SuGafMKLM9Hk= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/107300] [13 Regression] ICE: verify_ssa failed (error: virtual definition of statement not up to date) Date: Tue, 18 Oct 2022 07:32:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component short_desc everconfirmed bug_status cc cf_reconfirmed_on target_milestone 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=3D107300 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Component|tree-optimization |ipa Summary|ICE: verify_ssa failed |[13 Regression] ICE: |(error: virtual definition |verify_ssa failed (error: |of statement not up to |virtual definition of |date) |statement not up to date) Ever confirmed|0 |1 Status|UNCONFIRMED |NEW CC| |marxin at gcc dot gnu.org Last reconfirmed| |2022-10-18 Target Milestone|--- |13.0 --- Comment #1 from Richard Biener --- Confirmed. The unreachable doesn't have virtual operands but trap() should have. Oddly enough the abort is also replaced with trap!? void bar.constprop () { int x; int y; [local count: 1073741824]: [local count: 1073741824]: if (0 !=3D 0) goto ; [0.00%] else goto ; [100.00%] [count: 0]: __builtin_trap (); [local count: 1073741824]: if (0 !=3D 0) goto ; [0.00%] else goto ; [100.00%] [count: 0]: # .MEM_2 =3D VDEF <.MEM_1(D)> __builtin_trap (); [local count: 1073741824]: # VUSE <.MEM_1(D)> return; smells like a deeper regression in IPA (I suppose IPA CP marks stuff unreachable and then we turn that into traps!?)=