From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B54613858C66; Tue, 9 May 2023 11:39:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B54613858C66 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683632347; bh=LeV62GDA8DeSjBVY64O/0nrKupFTDyoCEuYQ5M+npeo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=n2WtcS+ckl7fPpGMas9GJZGoxiMQ15LqqWYWHB9cIeEFpyWUPkCMDvJt84/YVGhT3 PemWMZWwwc9YMLhYFfSDuPPPMQK0tLn0/3hQIfDrMcJUn/2J7jfCTO/v4jKBVCyE8F JLWuR+0inn/p0V5Js55xXhTVAjay2+OAqDHf6sao= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/99987] [12/13/14 Regression] missed optimization for dead code elimination at -O3 (vs. -O2) Date: Tue, 09 May 2023 11:39:07 +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: 11.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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: 12.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords 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=3D99987 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs-bisection | --- Comment #4 from Martin Li=C5=A1ka --- (In reply to Andrew Pinski from comment #2) > Note GCC 12+ can't remove the call to foo even at -O2. I have not looked > into why though. It's due to r12-4240-g2b8453c401b699.=