From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ED16C3858D35; Tue, 14 Nov 2023 07:44:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ED16C3858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1699947850; bh=5LizXI9pVknTJ7ojeNxeBoQivMxTjNm98ABFK3CHfdA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=GuLUzF7QmR+tormEoxit0IDpDNAfCFlZkl29IPwLZKnKoMZSUbEULaI3UQ1cx9jcz pHGF6EAPxicn4THgtpCEbQh2LIe323dhoq7DjtQEiu+SDFNQ015OG/mXStaAQ2LbWf GhKySerDXk9fQVkWIVrnbFWOh0K0TFaefyYMrt6w= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/112525] fail to eliminate unused store Date: Tue, 14 Nov 2023 07:44:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: bug_status everconfirmed cf_reconfirmed_on 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=3D112525 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2023-11-14 --- Comment #4 from Richard Biener --- I wonder if optimizing for "unused" parameters is worth it (usually IPA SRA will elide them). "unused" could be computed by cfgexpand walking the body, but we do expect to be able to inspect those parameters with -g, so care has to be taken that this works at all optimization levels.=