From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BB64C3858281; Wed, 15 Mar 2023 09:29:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BB64C3858281 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678872597; bh=s8H7wj03XZcote3KEnZ2qSYGXsEzW2m2OLirx1w3wOc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=sToqEKlNJEp9WNdnoKFVIm13zpW5KMpBsbv61UKYrBGe9yi2U4P86fC3oI6KeHHuU VBhbQtW8TOUhR/CPc5zF8mK1Z4UFt4csdH3MafEuwmupWEq5Yno7fVVSwozEiiaP1I pVPON9bV/i2pqV7d9lObzmGozJ3yM1fZoH1VPZdg= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/109139] [13 Regression] ice in make_decl_rtl, at varasm.cc:1442 Date: Wed, 15 Mar 2023 09:29: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.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 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=3D109139 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:0fc541efc340535d212cd685176bd9592905de8a commit r13-6691-g0fc541efc340535d212cd685176bd9592905de8a Author: Richard Biener Date: Wed Mar 15 09:47:18 2023 +0100 tree-optimization/109139 - fix .DEFERRED_INIT removal The following make sure to strip MEMs when looking for unused decls on the LHS of .DEFERRED_INIT. PR tree-optimization/109139 * tree-ssa-live.cc (remove_unused_locals): Look at the base address for unused decls on the LHS of .DEFERRED_INIT. * gcc.dg/torture/pr109139.c: New testcase.=