From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3CFB93857341; Wed, 5 Jul 2023 13:55:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3CFB93857341 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688565340; bh=2WN/2LOODpm9b+3xXKqO+fdAqxcWPmqKadtGq2I2Lug=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ZAWOI0kDaM/Bl7qFi0Psx5LbeDBRpF1UgFWfMCWrBQ/noXA0yDuzC564k1S0gdCrG tS7pQx/hoFk4QQ7vR1Itg8iPBVM/56tlPD7Tqs7GwQvpcx5j5cvf86bEXrvIVmgDgh n2Mc7Vc+DFCP0/pPuZ4qN2WU7VL00yHxzm/L8Bss= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/110515] [12/13/14 Regression] llvm-15.0.7 possibly invalid code on -O3 Date: Wed, 05 Jul 2023 13:55:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: alias, 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: keywords priority 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=3D110515 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs-bisection | Priority|P3 |P2 --- Comment #10 from Richard Biener --- So compute_avail in PRE tries to detect this situation and it ends up modif= ying the alias set of the load to zero (and is successfully in doing that). I'm testing a patch to plug a hole in that logic.=