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
* 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
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
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
* 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-
* 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
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
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
* 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