[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug default/21486] missing const when comparing C++ object files
https://sourceware.org/bugzilla/show_bug.cgi?id=21486
--- Comment #5 from Ben Woodard <woodard at redhat dot com> ---
According to Jason, const-ness is not an ABI artifact.
<jason> it shouldn't be part of the ABI
<neb_> IIRC didn't you say that it was part of the ABI because foo( type a);
and foo( const type a); were different functions.
<jason> I don't remember saying that, and they aren't
<jason> as jakub said, the 'const' only affects the body of the function, it's
not part of the function's type
<mjw> OK, so it is both a bug in libabigail (for treating it as an ABI issue)
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)
<jason> "After producing the list of parameter types, any top-level
cv-qualifiers modifying a parameter type are deleted when forming the function
type."
--
You are receiving this mail because:
You are on the CC list for the bug.