This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Convert TEST_f_f tests from code to data
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Sun, 12 May 2013 18:42:53 +0000
- Subject: Re: Convert TEST_f_f tests from code to data
- References: <Pine dot LNX dot 4 dot 64 dot 1305102059161 dot 3435 at digraph dot polyomino dot org dot uk> <518DD395 dot 6040600 at suse dot com> <518FDFC7 dot 7030008 at linux dot vnet dot ibm dot com>
On Sun, 12 May 2013, Adhemerval Zanella wrote:
> I didn't dig into, but it shows on GCC 4.4.6, 4.7.4, and trunk (4.9). To
> avoid more compiler ifdefs, I suggest just replace it to a constant.
> Tested on PowerPC and PowerPC64.
I suggest defining a macro with this constant value along with the other
M_* macros defined in libc-test.inc (whose definitions I made into decimal
constants to avoid this sort of issue with GCC bug 26374:
<http://sourceware.org/ml/libc-alpha/2013-05/msg00221.html>), rather than
using the long constant directly as a test input.
--
Joseph S. Myers
joseph@codesourcery.com