From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0F2493858C98; Sun, 17 Dec 2023 13:05:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0F2493858C98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1702818357; bh=4rsbyOkGkHFNRZHhqoeZAKNVClOfbTxI7a/5nqjmbJc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ip9yi+LlMK58+/1P8OFHoA/i9m016YdwWjSCsirDWplDA+SANkL36bSReoWiL60dQ Dgblbv3HGPO3e3ntlVWwvWlFF1sSTArphluNQvfpz5Oed0p1gZPCxYrbDWEPrpncAy t/m5D7WeXckLXX8EsE97FT2VWPFSoNLCuyXvz1dE= From: "ssbssa at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug c++/11540] ambiguous using reference is not error Date: Sun, 17 Dec 2023 13:05:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: ssbssa at sourceware dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: swagiaal at redhat dot com X-Bugzilla-Target-Milestone: 14.1 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status target_milestone cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D11540 Hannes Domani changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Target Milestone|7.1 |14.1 CC| |ssbssa at sourceware dot o= rg Resolution|--- |FIXED --- Comment #1 from Hannes Domani --- This is working since gdb-14.1, was fixed by this commit: https://sourceware.org/git/?p=3Dbinutils-gdb.git;a=3Dcommitdiff;h=3Dbb391cb= 24d8f92ecad10bb6a60abdf0b880de0dd Now you get: ``` (gdb) p x Reference to "x" is ambiguous, possibilities are: A::x and B::x ``` --=20 You are receiving this mail because: You are on the CC list for the bug.=