[PATCH, GCC] PR middle-end/55299, fold bitnot through ASR and rotates

Mikhail Maltsev maltsevm@gmail.com
Tue May 10 13:54:00 GMT 2016


On 05/08/2016 10:57 PM, Marc Glisse wrote:
> On Sun, 8 May 2016, Mikhail Maltsev wrote:
> 
>> Hi!
>>
>> I decided to revive this patch:
>> https://gcc.gnu.org/ml/gcc-patches/2015-06/msg00999.html.
>> I addressed review comments about sign conversions. Bootstrapped and regtested
>> on x86_64-linux-gnu {,-m32}. OK for trunk?
> 
> Hello,
> 
> are you sure that your transformations are safe for any kind of conversion?
> 
Oops, indeed, only narrowing conversions should be allowed. I updated the patch
and added some more test cases.

-- 
Regards,
    Mikhail Maltsev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fold_asr2_2.patch
Type: application/x-patch
Size: 4739 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160510/3b314363/attachment.bin>


More information about the Gcc-patches mailing list