This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] powerpc: Fix the compiler mode used with C++ when -mabi=ieeelongdouble
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Tulio Magno Quites Machado Filho <tuliom at linux dot ibm dot com>
- Cc: <libc-alpha at sourceware dot org>, <meissner at linux dot ibm dot com>
- Date: Fri, 4 May 2018 21:06:47 +0000
- Subject: Re: [PATCH] powerpc: Fix the compiler mode used with C++ when -mabi=ieeelongdouble
- References: <20180427171150.28010-1-tuliom@linux.ibm.com> <alpine.DEB.2.20.1804271917270.29138@digraph.polyomino.org.uk> <8736zc7pxp.fsf@linux.ibm.com> <alpine.DEB.2.20.1804301432440.17105@digraph.polyomino.org.uk> <87r2mrmatq.fsf@linux.ibm.com>
On Fri, 4 May 2018, Tulio Magno Quites Machado Filho wrote:
> /* Defined to 1 if the corresponding _FloatN type is not binary compatible
> with the corresponding ISO C type. */
> #define __HAVE_FLOAT128_UNLIKE_LDBL __HAVE_DISTINCT_FLOAT128 \
> && __LDBL_MANT_DIG__ != 113
Yes, something like that (but the comment should say explicitly this is
about the types in the current compilation rather than the default types
for this glibc, and that that's how this is distinguished from
__HAVE_DISTINCT_FLOAT128 - and the expansion should be in parentheses).
--
Joseph S. Myers
joseph@codesourcery.com