Re: [PATCH v2 00/27] LLVM fixes

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

 



On 11 March 2017 at 22:30, Luc Van Oostenryck
<luc.vanoostenryck@xxxxxxxxx> wrote:
>> >         long baz(int  *ip) { return ip - ((int *)0); }
>> >
>>
> baz:
>> .L6:
>>         <entry-point>
>>         divs.64     %r13 <- %arg1, $4
>>         scast.32    %r14 <- (64) %r13
>>         ret.32      %r14
>
> It's not incorrect, only that the scast is unneeded.
> But strangely, I don't see that cast here.
>

Why the division? That seems incorrect to me.

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