From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1E7A93849AEF; Sat, 13 Apr 2024 18:20:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1E7A93849AEF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713032414; bh=QM2EdTg60TjQ8kkM4V3equuu/+v5SgMEhwgwDHXaqsU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=lmMkECRkAz9uGPg18r5K55UznyRQhfT9CE9NRNIpfAfRZlMS3h/ROWyAA6nvakvU3 LkDM1xpO/bHxVSd2nHIR/qQdflUtCM95VihR6zjOOhtNtGj7HVs/AYRPnh6/GzvuMZ +2tFp2GaIDMpaZnWa1LBnfNRSgFwvZxpAd5k4Ys8= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/114704] Missed optimization : eliminate store if the value is known in all predecessors Date: Sat, 13 Apr 2024 18:20:13 +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: missed-optimization X-Bugzilla-Severity: enhancement 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: 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=3D114704 --- Comment #4 from Andrew Pinski --- (In reply to XChy from comment #3) > Do you mean "*p =3D a" at the end? In this case a and t should be the same value :). So it does not matter. I = was showing that sometimes gcc messes up when using the original value.=