From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0D9743858C2D; Fri, 19 Jan 2024 07:06:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0D9743858C2D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705648011; bh=Ese4AZm36QGS1zrWvRQ+TcYKdkY7zgJXi+Nmn7aEvHk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=sHqQA8JLYY65LMaGHUEavrWHkTw/ZNGoOMvUIWT/7FwA8cBFB++Z6xMN88T1y0tMc zbyktgPkbVw0fxwAPhx5bUpzu88ZKoN9S37DpOwqEdS7nx0YO8D3ZTZQ35z24tY62v jmA3YjMd5E1wlCLW7rcEOJ78PWVLaTqboGJpL8CM= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/113467] [14 regression] libgcrypt-1.10.3 is miscompiled Date: Fri, 19 Jan 2024 07:06:50 +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: 14.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D113467 --- Comment #15 from Richard Biener --- (In reply to Sam James from comment #14) > I tried 'if (candidate && candidate->src !=3D EDGE_PRED (loop->latch, > 0)->src)' as well given that seems way more sensible and that works too, = but > obviously if I pick something eager or always true, it's going to help, so > I'll wait for you now. Yeah, that's what it meant to read - sorry for fat-fingering this so many times. Your other choice makes it simply never vectorize anything while this should really just disable all early-exit-peeled variants.=