Fw: [cxx-abi-dev] Decimal Floating Point mangling was(Fw: [cxx-abi-dev] C++0x: Mangling of rvalue reference type)s

Michael Wong michaelw at ca.ibm.com
Fri Jun 29 05:33:02 UTC 2007


Michael Wong
XL C++ Compiler kernel Development
IBM Canada Ltd., C2/KD2/8200/MKM
8200 Warden Avenue
Markham, Ontario  L6G 1C7
W:905-413-3283 F:905-413-4839
C/C++ Compilers Support Page 
http://www.ibm.com/software/awdtools/ccompilers/support/
C/C++ Feature Request Interface 
http://www.ibm.com/support/docview.wss?uid=swg27005811
XL Fortran Compiler Support Page 
http://www.ibm.com/software/awdtools/fortran/xlfortran/support/
XL Fortran Feature Request Interface 
http://www.ibm.com/support/docview.wss?uid=swg27005812
----- Forwarded by Michael Wong/Toronto/IBM on 06/29/2007 01:24 AM -----

Dennis Handly <dhandly at cup.hp.com> wrote on 06/28/2007 07:24:47 PM:

> >From: Michael Wong <michaelw at ca.ibm.com>
> >Also I meant to add that for Decimal Floating Point
> >     Decimal32:          "p"
> >     Decimal64:          "q"
> >     Decimal128:         "r"
> 
> Will that "r" conflict with C99 restrict?
I think we considered this and C99 restrict cannot exist on its own. It 
must be a restrict on a type hence it is a qualifier. So the conflict 
should not exist, in my opinion. I hope we are not wrong. 
> This of course would be even harder to demangle.
Its a little more work, but not much more.

> 
> >we looked at the holes that remain in the one letter case and
> >chose this rather then multiple letters.
> Michael Wong
> 
> It may be time to use double letters.  Unfortunately "D" is taken, 
unless
> you want something like Dp Dq Dr.  Or using "B". :-)

It just so happens that those spaces exist in the current name mangling 
and we have started using it in our product. Anyone know if GNU is using 
the same mangling for decimal floating types?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/cxx-abi-dev/attachments/20070629/8dcbf76a/attachment.html>


More information about the cxx-abi-dev mailing list