From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 33385386D601; Thu, 11 Jan 2024 18:56:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 33385386D601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704999374; bh=P2gmxmTs3c1Vl6exHvmfnbclyzXbw8DEN8v6uTygQnc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=O//jj8AuH2s/T5XUcnN7NA8rXvALW1Ka4QyD23i366/s9xRnCMLTY41r3Y9Dd+1v8 /ficc7fHiZilkoP6g+w/X0Es7FFdUYu5lAKcZ3jh1qBEWCYq5v/dddEd7vFzRGVvjR TTH0c1XQS5nhGcF5e+eNxfd1bG6l4tieMYoKQGXI= From: "dave.anglin at bell dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/113182] [14 Regression] FAIL: g++.dg/cpp0x/udlit-namespace.C -std=c++14 execution test Date: Thu, 11 Jan 2024 18:56:13 +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: 14.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dave.anglin at bell dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.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=3D113182 --- Comment #18 from dave.anglin at bell dot net --- On 2024-01-11 1:25 p.m., jakub at gcc dot gnu.org wrote: > The allocation is completely intentional, exactly to be able to track whe= ther > it was referenced or not. Otherwise the exercise makes no sense. In assemble_external_libcall, it's intentional.=C2=A0 But in process_pending_assemble_externals, all the allocations that are going to happen should have already happened.= =C2=A0 It is called in final. When the name encoding wasn't stripped, get_identifier just created a new identifier node that wasn't referenced.=C2=A0 I tend to think there's a problem if the identifie= r node doesn't already exist in process_pending_assemble_externals.=