From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D94E33858D20; Sun, 19 May 2024 22:17:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D94E33858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1716157069; bh=Ou+Yc5ZMeB5qLt4fAau236Nc0uuHqqUARPaoBalZBaM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=B6Z1REFisyLSf0/rSCnpIJDU/f5Fbob07/e4YLVUd/mgR67N7Ab8rmATM/R4PBQUN /iCWOtNLi+Y9cG8f1IvED0eSdtu9+W/uMWv4ID1hwvhYM4+ACvz+fRYeZvjiF/8aBj juTuB0/lkAELPvjD5Dv+H6Nq/DTI8efmSrBBRwKs= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/115154] [13 Regression] wrong code at optimization levels -O2, -O3, -Os since r13-7434-g682bbd364708fe Date: Sun, 19 May 2024 22:17:49 +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.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pinskia at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on assigned_to everconfirmed 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=3D115154 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs-bisection |wrong-code Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2024-05-19 Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot = gnu.org Ever confirmed|0 |1 --- Comment #7 from Andrew Pinski --- (In reply to Sam James from comment #6) > yep, r14-3432-gddd64a6ec3b38e fixed it on trunk So that is not the correct fix really. It just works around the bad ir/bug. Tomorrow I will look into the correct fix. -a is not well defined for signe= d:1 and something created it which was wrong. There was a few other fixes in th= is area that fixed stuff like this too which was done due to detection of lowe= ring vectors.=