On 1/4/21 3:28 PM, Steve Kargl wrote:
> On Mon, Jan 04, 2021 at 02:30:43PM -0700, Jeff Law wrote:
>> On 1/2/21 1:34 AM, Steve Kargl via Gcc-patches wrote:
>>> Can someone, anyone, please commit the following trivially patch?
>>> gfortran.dg/dec_math.f90 will never pass on i?86-*-freebsd*.
>> Why will the test never pass on that platform?  I don't mind installing
>> the patch, but I'd like to have a bit more background first :-)
>>
> The testcase assumes REAL(10) has 64-bits of precision.  On
> i?86-*-freebsd, the i387 FPU control word is set to 53-bits.
> The test program is not set up to deal with 11-bits of 
> missing precision.
Thanks.  That's precisely what I needed to know.  I suspected it was
related to the differing state of the fpu control word.  But that begs
the question of whether or not the change should apply to the other BSD
variants.

jeff

Reply via email to