Resend: Potential upcoming changes in mangling to PowerPC GCC

Tulio Magno Quites Machado Filho tuliom@linux.ibm.com
Wed Aug 10 19:55:42 GMT 2022


Michael Meissner via Gcc <gcc@gcc.gnu.org> writes:

> Because long double mangles the same as either __float128 or __ibm128, you
> cannot write programs like:
>
> 	double convert (__ibm128    x) { return x; }
> 	double convert (__float128  x) { return x; }
> 	double convert (long double x) { return x; }
>
> You would have to write on a system with long double being IBM 128-bit:
>
> 	double convert (__float128  x) { return x; }
> 	double convert (long double x) { return x; }
>
> or on a system with long double being IEEE 128-bit:
>
> 	double convert (__ibm128    x) { return x; }
> 	double convert (long double x) { return x; }

Does that mean, when long double is IEEE 128-bit, the compiler won't support
_Float128/__float128 ?

-- 
Tulio Magno


More information about the Libc-alpha mailing list