Re: Cast to double being removed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Mar 19, 2017 at 4:43 PM, Dibyendu Majumdar
<mobile@xxxxxxxxxxxxxxx> wrote:
> Hi Luc,
>>> The cast to double has been removed. I am trying to understand where
>>> this is happening as it seems to happen quite early on. Any tips on
>>> where I should look?
>>
>> This is fixed by the patch I sent two days ago:
>>         https://patchwork.kernel.org/patch/9618765/
>>
>
> I found that in the simplification phase no account is taken of the
> fact that a constant is floating point. Please try to run this test
> and let me know if it works.

I know. It's why I already sais several times that there is several issues with
floating point numbers.
I'll certainly look at these issues but currently I have around 40
pending patch series
for others problems ...

> https://github.com/dibyendumajumdar/dmr_c/blob/master/tests/netlib/paranoia.c

Interesting.
Do you know the license of this file?

> I had to switch off simplifications of instructions that have a
> floating point type.

OK, but the specific problem exposed by your example was something else,
a tiny braino most probably.

-- Luc
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux