This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: DF mangling


On Tue, May 22, 2018 at 05:40:49PM +0000, Joseph Myers wrote:
> 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.

Ah!  Sneaky.  Yes that will work; I'll make a patch.


Segher


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]