__float128 typeinfo

Marc Glisse marc.glisse@inria.fr
Fri Jun 6 15:58:00 GMT 2014


On Fri, 6 Jun 2014, Jason Merrill wrote:

> On 06/06/2014 10:16 AM, Marc Glisse wrote:
>>      * config/abi/pre/float128.ver: New file.
>> +CXXABI_FLOAT128_1.3.9 {
>
> What's your rationale for keeping this in a separate version block rather 
> than in 1.3.9 (like __int128)?

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43622#c6

Powerpc already has those symbols in CXXABI_LDBL_1.3 (for a type that 
isn't __float128 but (de)mangles that way). That doesn't prevent from 
using CXXABI_1.3.9 in the x86/ia64-specific file though, so I can do that 
if you prefer. If a new target implements __float128 in 4.11 or 4.12, they 
will have to refine the configure test and provide a different .ver file 
to avoid adding symbols to an old version. Or I could try to share the 
CXXABI_LDBL_1.3 name although it doesn't correspond to long double in this 
case.

I have no preference, I'll go with whatever people like.

-- 
Marc Glisse



More information about the Libstdc++ mailing list