On Sat, 13 May 2017, Eric Botcazou wrote:
> > Does this happen on the GCC7 branch as well? The patch just guards an
> > indirect ref folding (I refrained from trying to make it correct given I
> > think it's premature optimization).
>
> No, mainline and GCC 7 branch are fine. It appears that th
> Does this happen on the GCC7 branch as well? The patch just guards an
> indirect ref folding (I refrained from trying to make it correct given I
> think it's premature optimization).
No, mainline and GCC 7 branch are fine. It appears that the folding (probably
to BIT_FIELD_REF) is necessary t
On May 13, 2017 10:49:31 AM GMT+02:00, Eric Botcazou
wrote:
>> Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to
>trunk.
>>
>> Richard.
>>
>> 2017-03-28 Richard Biener
>>
>> PR middle-end/80222
>> * gimple-fold.c (gimple_fold_indirect_ref): Do not touch
>> TYPE_
> Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk.
>
> Richard.
>
> 2017-03-28 Richard Biener
>
> PR middle-end/80222
> * gimple-fold.c (gimple_fold_indirect_ref): Do not touch
> TYPE_REF_CAN_ALIAS_ALL references.
> * fold-const.c (fold_indirect_r