From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F2A803858C54; Tue, 5 Mar 2024 09:19:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F2A803858C54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709630377; bh=SIii5foDImROobWiwuZcvVxQlyJy+a9BBWrdk6NxmaU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KngOBwvSIt1VkdW7IHK07GJ3YPQ9RWlccaiI92YVP7bGud4Mas++vbUWre/Xqw9UX xNr3IUezZ4EzKSP0vSrE2/A58zoBbX9fBY5tPPrEjLqwf2HCzbKQ5uRZgC3i5thABQ ZTo/qEyhd/B7ygibIUcJHa2eKwvZjX+4MnnQVUtM= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/114190] [14 regression] Wrong code with -O2 -fno-dce -fharden-compares -mvpclmulqdq --param=max-rtl-if-conversion-unpredictable-cost=136 Date: Tue, 05 Mar 2024 09:19:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to bug_status attachments.created 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=3D114190 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org Status|NEW |ASSIGNED --- Comment #5 from Jakub Jelinek --- Created attachment 57611 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57611&action=3Dedit gcc14-pr114190.patch Untested fix. After removing the REG_DEAD/REG_UNUSED notes the pass calls df_analyze, but as problems are normally only removed during df_finish_pass, the note problem is still requested and the df_analyze recreates the notes again. We could just move the df_analyze before the manual note removal, but I thi= nk it is a waste of time to compute the notes again there.=