Re: [PATCH] Increase alignment for bit-field access when predictive commoning (PR 71083)

2016-08-12 Thread Richard Biener
On Thu, 11 Aug 2016, Bernd Edlinger wrote: > On 08/11/16 09:07, Richard Biener wrote: > > The patch looks mostly ok, but > > > > + else > > + { > > + boff >>= LOG2_BITS_PER_UNIT; > > + boff += tree_to_uhwi (component_ref_field_offset (ref)); > > + coff =

[PATCH] Increase alignment for bit-field access when predictive commoning (PR 71083)

2016-08-11 Thread Bernd Edlinger
On 08/11/16 09:07, Richard Biener wrote: > The patch looks mostly ok, but > > + else > + { > + boff >>= LOG2_BITS_PER_UNIT; > + boff += tree_to_uhwi (component_ref_field_offset (ref)); > + coff = size_binop (MINUS_EXPR, coff, ssize_int (boff)); > > how can we be