From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 787523857353; Mon, 23 Oct 2023 15:26:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 787523857353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1698074765; bh=CPUDmycC8Fvl18gByUqCiyvWlbpgrmuKVWwxtg86r+s=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wFX+6jQKAfgxpqro14hQpPBKqfcXfQiBU5EG8Ft7ORYoHfrwbThVhnrPELiWdf/6N 5LMNlLiLY1RgMkqDTQivK3SlHpkMnOgYZWKzbYnB7E4pSxiJ5Ow2FpAY3M0I1qWXrL B6RYcY6WZRH4m03fIrJMft8y0rL4LUrHLtQIHtnI= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/110721] Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink' Date: Mon, 23 Oct 2023 15:26:03 +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: 11.4.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: cc 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=3D110721 Sam James changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org Keywords|needs-bisection | --- Comment #5 from Sam James --- the bisect indicates r12-248-gb58dc0b803057c was the fix: b58dc0b803057c0e6032e0d9bd92cd834f72c75c is the first bad commit commit b58dc0b803057c0e6032e0d9bd92cd834f72c75c Author: Richard Biener Date: Tue Apr 27 14:32:27 2021 +0200 tree-optimization/99912 - delete trivially dead stmts during DSE DSE performs a backwards walk over stmts removing stores but it leaves removing resulting dead SSA defs to later passes. This eats into its own alias walking budget if the removed stores kept loads live. The following patch adds removal of trivially dead SSA defs which helps in this situation and reduces the amount of garbage followup passes need to deal with.=