This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: DF mangling
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Segher Boessenkool <segher at kernel dot crashing dot org>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Tue, 22 May 2018 17:40:49 +0000
- Subject: Re: DF mangling
- References: <20180522173003.GO17342@gate.crashing.org>
On Tue, 22 May 2018, Segher Boessenkool wrote:
> Hi!
>
> The Itanium C++ ABI defines
> https://itanium-cxx-abi.github.io/cxx-abi/abi.html#mangling-builtin
> DF<number>_ as the mangling for the <number> bit IEEE binary float type,
> i.e. _Float<number>.
>
> But the libiberty unwinders decode DF<something> as fixed point type, see
> https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=libiberty/cp-demangle.c;h=3f2a097e7f2075e5750e40a31ce46589d4ab83d5;hb=HEAD#l2659
>
> This conflicts. How are we going to resolve it?
I don't think there's any conflict between the mangling DF<number>_ for
_FloatN, and DF<number>[ijstlmxy]<number>[sn] for fixed point. If DF is
followed by a number, the following character is '_' for _FloatN and the
code for an integer type for fixed point.
--
Joseph S. Myers
joseph@codesourcery.com