[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

dave.anglin at bell dot net gcc-bugzilla@gcc.gnu.org
Tue Dec 29 22:37:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

--- Comment #10 from dave.anglin at bell dot net ---
On 2015-12-29, at 5:25 PM, dave.anglin at bell dot net wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356
> 
> --- Comment #9 from dave.anglin at bell dot net ---
> On 2015-12-29, at 5:05 PM, dominiq at lps dot ens.fr wrote:
> 
>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356
>> 
>> --- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
>>> You might want to double check that it's not a bug in the HP-UX libm.
>> 
>> AFAIU Joseph (comment 2) the test should be skipped on platforms defaulting to
>> -fno-math-errno as Darwin. Is it the case for HP-UX?
> 
> 
> I believe that is the case for hpux.  No errors are defined for exp2.  Man page
> says:
> 
> If the correct value after rounding would be smaller in magnitude than
> MINDOUBLE, exp2() returns zero.


It looks like the lack of an ERANGE error is specific to exp2.  The other tests
pass okay,
so I think I'll do the same skip as __sun__ around exp2 and expm1 even though I
think
expm1 would pass since it supports ERANGE errors.

Dave
--
John David Anglin       dave.anglin@bell.net


More information about the Gcc-bugs mailing list