From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9099D3858C2F; Mon, 30 Oct 2023 14:21:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9099D3858C2F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1698675671; bh=ujiKSgbB5466Ha/YeP/Qzuvh+nf5sUty9vVDjRdyqvA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qD81Lw/h73YfzuHMfOXPAlgYlHl6I2XnIFRGkUXxfezf8fEin+r5IiA3jIoPxQGh5 Geg3M2A8SLJytC/9Tg2mDEp2qJ3AfwSjltLuwglCZOc8c59626RCOQISzUfH9tu8vt FDFnRznAE+ovWftDZaSv+zdw7Qm+Az7ZJ4rIlFTw= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/112281] [12/13/14 Regression] wrong code at -O3 on x86_64-linux-gnu since r12-2097-g9f34b780b0461e Date: Mon, 30 Oct 2023 14:21:11 +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.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: version priority assigned_to 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=3D112281 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unknown |13.2.1 Priority|P3 |P2 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Status|NEW |ASSIGNED --- Comment #5 from Richard Biener --- Possibly a mixup of dependence direction somewhere. If c would not iterate backwards the transform would be correct. We compute (build_classic_dist_vector dist_vector =3D (1 0 ) and then possibly get partition order wrong. With 11 we had fixes there, possibly this broke it. I will have a look. At some point ...=