From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 84412 invoked by alias); 12 May 2017 14:12:07 -0000 Mailing-List: contact libabigail-help@sourceware.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Id: List-Subscribe: Sender: libabigail-owner@sourceware.org Received: (qmail 84327 invoked by uid 48); 12 May 2017 14:12:02 -0000 From: "woodard at redhat dot com" To: libabigail@sourceware.org Subject: [Bug default/21486] missing const when comparing C++ object files Date: Sun, 01 Jan 2017 00:00:00 -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: woodard at redhat dot com X-Bugzilla-Status: NEW 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-SW-Source: 2017-q2/txt/msg00019.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D21486 --- Comment #5 from Ben Woodard --- According to Jason, const-ness is not an ABI artifact. it shouldn't be part of the ABI IIRC didn't you say that it was part of the ABI because foo( type a); and foo( const type a); were different functions. I don't remember saying that, and they aren't as jakub said, the 'const' only affects the body of the function, i= t's not part of the function's type OK, so it is both a bug in libabigail (for treating it as an ABI issu= e) and in gcc (for not emitting it as DWARF type - except we cannot replicate = - I just tried jakub's example with g++ 4.8.5 and it does emit the const type in DWARF) "After producing the list of parameter types, any top-level cv-qualifiers modifying a parameter type are deleted when forming the funct= ion type." --=20 You are receiving this mail because: You are on the CC list for the bug.