From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1EB4A3858D35; Mon, 22 Apr 2024 23:40:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1EB4A3858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713829257; bh=/46Ge/JkcJUXVoB78p+460RN3NMwFrU7/UPVxhznmzk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jf81MTUvKNGWC1g13iA1uLY13nMbpYsf0s82MPi6xjqcf5ah/vJla+2XM9ZRs2ydY vd26EGRacWqJduzIoo6arXaKlzIkS1NC4FWFMYDxDAeooQ5uFaW7/p9X1Lld/pHv2Y 0gBWA4jvVeo9jve89nf30dcul+8khb1hXo4HfHhA= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/114800] DSE does not remove set-zero which is partial redundant with respect to mod-ref Date: Mon, 22 Apr 2024 23:40:57 +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: 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=3D114800 --- Comment #4 from Andrew Pinski --- Note mod-ref does tells us that only f1, f3 are used here but DSE must have missed that for `=3D {}`. Note without the knowledge of foo, we still have a partial redundant zeroing happening due to padding being zeroed so that might not be considered redun= dant ...=