From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CE354385800C; Tue, 7 Mar 2023 20:07:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CE354385800C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678219647; bh=DSEPLFbGt/NKBFx2s8j0vYUj7ZHIgt2Z9DLW8Qlw0rA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=SFV+Wu6x0OmPQJfN5k9dBhA+CMhWVsAQvb5ZK+Ru1aU0/VIVlP3CnlHAOS4i0qJgs HxP9YE13OHwwUmNSl3th/LBHTEdiAV1UunsrJE8+unyIoFwki1QDSzSIjZlQgOBAjC Ckz6GiYHW8ZY7ihyDIZdSwHbRmmI2hc0BdIA0L34= From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108887] [13 Regression] ICE in process_function_and_variable_attributes since r13-3601 Date: Tue, 07 Mar 2023 20:07:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jason 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=3D108887 --- Comment #6 from Jason Merrill --- (In reply to Jan Hubicka from comment #3) > I think we may get around with only turning the node back to non-declarat= ion > by calling n->reset()? It seems I also need to n->remove_from_same_comdat_group(). Should reset()= do that? What about all the other things that remove() does before actually freeing the node? Would setting n->type to SYMTAB_SYMBOL be a suitable way of marking it as d= ead?=