Re: [PATCH] ceil, floor: avoid spurious failure with icc

2010-11-05 Thread Eric Blake
On 11/05/2010 04:30 PM, Eric Blake wrote: > * tests/test-ceilf2.c (ceilf_reference): Avoid icc's use of DAZ > [denormals-as-zero] when optimizing without -mieee-fp option. > * tests/test-floorf2.c (floorf_reference): Likewise. > > Signed-off-by: Eric Blake > --- > > This fixes failures of icc wi

[PATCH] ceil, floor: avoid spurious failure with icc

2010-11-05 Thread Eric Blake
* tests/test-ceilf2.c (ceilf_reference): Avoid icc's use of DAZ [denormals-as-zero] when optimizing without -mieee-fp option. * tests/test-floorf2.c (floorf_reference): Likewise. Signed-off-by: Eric Blake --- This fixes failures of icc without -mieee-fp on test-{ceil,floor}f2.c. However, it does

Re: icc bug on test-frexp-nolibm

2010-11-05 Thread Eric Blake
On 11/05/2010 01:57 PM, Eric Blake wrote: > That is, with no options, icc defaults to -O2. With -g it implies -O0 > which in turn implies -mieee-fp. It is also possible to use -mieee-fp > in isolation, or alongside an explicit -O2. The "bug", then, is that > when optimization is enabled and -mie

Re: icc bug on test-frexp-nolibm

2010-11-05 Thread Eric Blake
On 11/03/2010 05:10 PM, Eric Blake wrote: > I'm running out of time today to get to the bottom of this, so if anyone > else wants to help out, great. If not, I'll see if I can resume testing > tomorrow and get a minimal test case that exposes the compiler bug, as > well as try and isolate ways to

[PATCH] tests: require working signbit

2010-11-05 Thread Eric Blake
* modules/ceilf-tests (Depends-on): Add signbit. * modules/ceill-tests (Depends-on): Likewise. * modules/floorf-tests (Depends-on): Likewise. * modules/floorl-tests (Depends-on): Likewise. * modules/round-tests (Depends-on): Likewise. * modules/roundf-tests (Depends-on): Likewise. * modules/roundl-

[PATCH] copysign: enhance tests

2010-11-05 Thread Eric Blake
* modules/copysign-tests (Files): Add minus-zero.h. * tests/test-copysign.c (main): Also test zeros. Signed-off-by: Eric Blake --- I was about to fix strtod to use copysign to work around the icc bug; the first step is to strengthen the test to prove that it will work with icc. I've tested that

Re: icc bug on test-frexp-nolibm

2010-11-05 Thread Eric Blake
On 11/04/2010 11:43 AM, Eric Blake wrote: > On 11/03/2010 05:10 PM, Eric Blake wrote: >> I'm running out of time today to get to the bottom of this, so if anyone >> else wants to help out, great. If not, I'll see if I can resume testing >> tomorrow and get a minimal test case that exposes the comp

[PATCH] strtod: work around icc bug

2010-11-05 Thread Eric Blake
With optimization, ICC 10.0 mis-compiles 'cond ? -val : val' such that a val of 0.0 doesn't result in -0.0. * lib/strtod.c (minus_zero): Define to working value. (strtod): Use it to avoid icc bug. Signed-off-by: Eric Blake --- This fixes strtod under icc with optimization, which had been silent

[PATCH] [html] Fix copy/paste bug: Use unique name for compiler warnings.

2010-11-05 Thread Thien-Thi Nguyen
* MODULES.html.sh: For compiler warnings, use name `ansic_ext_compwarn' since `ansic_ext_misc' is already taken. Signed-off-by: Thien-Thi Nguyen --- ChangeLog |6 ++ MODULES.html.sh |2 +- 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog inde