From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ED7BE3858C2C; Fri, 2 Jun 2023 01:38:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ED7BE3858C2C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1685669931; bh=nBaza6Z9gCnzWqm+YaDqF35Tplwk4UcQUB2mPJAuJ70=; h=From:To:Subject:Date:In-Reply-To:References:From; b=lGfqOih2yq7dV8IhvHE9AYgkH0VtBo2SKaatNYP0iSK+YI0qSgFmlAhSYOJRhqg9T hGJxp4hDzMx5mG1fQlnxFrQD5xe/fOypLqTEFliegUPxoxHbMCtep3ps3e/ypW2Cdi JIYF7HT98XPvCaiHsJ2KmrnEw7DsIzp7gXED/X6U= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/58517] ifcvt (after combine) puts ccreg clobbering insn between ccset insn and ccreg use Date: Fri, 02 Jun 2023 01:38:50 +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: 4.9.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D58517 --- Comment #8 from Andrew Pinski --- Created attachment 55237 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D55237&action=3Dedit Patch which I think will fix this This is option 1 of comment #3 though with an updated version. I have not tested this at all but I think it will work.=