[PATCHv2] powerpc: Fix the compiler type used with C++ when -mabi=ieeelongdouble

Tulio Magno Quites Machado Filho tuliom@linux.ibm.com
Fri May 11 23:23:00 GMT 2018


Joseph Myers <joseph@codesourcery.com> writes:

> On Fri, 11 May 2018, Tulio Magno Quites Machado Filho wrote:
>
>> 2018-05-10  Tulio Magno Quites Machado Filho  <tuliom@linux.ibm.com>
>> 
>> 	* bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
>> 	* math/math.h: Restrict the prototype definition for the functions
>> 	issignaling(_Float128) and iszero(_Float128); and template
>> 	__iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
>> 	__HAVE_FLOAT128_UNLIKE_LDBL.
>> 	* sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
>> 	&& (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
>> 	&& __LDBL_MANT_DIG__ == 113]: Use long double suffix for
>> 	__f128() constants; define the type _Float128 as long double;
>> 	and reuse long double in __CFLOAT128.
>
> This version is OK.

Pushed as 5db7d705db472.

Thanks!

-- 
Tulio Magno



More information about the Libc-alpha mailing list