From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AD45338930D7; Thu, 16 Jul 2020 18:32:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AD45338930D7 From: "gprocida+abigail at google dot com" To: libabigail@sourceware.org Subject: [Bug default/26135] Wrong linkage name causes anonymous classes miscomparison Date: Thu, 16 Jul 2020 18:32:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: libabigail X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gprocida+abigail at google dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dodji at redhat dot com X-Bugzilla-Target-Milestone: --- 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://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jul 2020 18:32:57 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26135 --- Comment #5 from Giuliano Procida -= -- This is the patch I was working on that caused me to take a closer look. --- a/src/abg-dwarf-reader.cc +++ b/src/abg-dwarf-reader.cc @@ -3496,7 +3496,8 @@ public: int tag =3D dwarf_tag(const_cast(die)); if ((tag =3D=3D DW_TAG_structure_type || tag =3D=3D DW_TAG_class_type - || tag =3D=3D DW_TAG_union_type) + || tag =3D=3D DW_TAG_union_type + || tag =3D=3D DW_TAG_enumeration_type) && die_is_anonymous(die)) { location l =3D die_location(*this, die); This was an attempt to reduce the gap in behaviour between early and late t= ype canonicalisation by the DWARF reader. --=20 You are receiving this mail because: You are on the CC list for the bug.=