From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EF74D3858D28; Mon, 17 Oct 2022 10:44:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EF74D3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666003487; bh=tHSEMtTOXgEJ18bwRryl8oZQ1A/pvFt3wr6Hp8xdXNA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=QOpGGe2NJOy0bdXkx4N5swDu8p8chM98LsJntEZVEGiqklwqHUwNrmHtLRsN52Cs+ O4azqXcIuXX0LbATJ4PXtr7y1PnlN6RHcVwqTdfzDxs0hxWCyTrgnSIkLKWT+2CRPO JHizIFYOoQsgD4G8tj0J8ZPSGQ3sdelT5UQG7Jc4= From: "avieira at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107275] [13 Regression] Recent ifcvt changes resulting in references to SSA_NAME on free list Date: Mon, 17 Oct 2022 10:44:46 +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: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: avieira at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: avieira at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: everconfirmed cf_reconfirmed_on bug_status 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=3D107275 avieira at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2022-10-17 Status|UNCONFIRMED |NEW --- Comment #2 from avieira at gcc dot gnu.org --- ifcvt's dce seems to be removing the asm, which is rather odd... Moving the 'struct device_link *link;' outside of the function, making it a global seems to give a different ICE too, related to vdefs. So I suspect my vdef/vuse update is confusing things. I've never quite understood what and = how the vdef/vuse update is supposed to happen, update_stmt used to be my goto fix-all, but that doesnt' seem to be helping. As a side-not, I also noticed that doing the gimple_move_vops after inserting seems to yield different results as well... Just to say I am nowhere yet, if anyone has an idea of what might be going wrong I welcome the suggestion, in the meantime I'll continue prodding this= .=