On Mon, Apr 1, 2013 at 5:52 PM, Marc Glisse <marc.gli...@inria.fr> wrote: > On Sat, 30 Mar 2013, Marc Glisse wrote: > >> * tree-flow-inline.h (get_addr_base_and_unit_offset_1): Handle >> BIT_FIELD_REF. > > > I wrote a safer version of this for PR52436:
That variant is ok - please test and commit separately. Thanks, Richard. > > > case BIT_FIELD_REF: > - return NULL_TREE; > + { > + HOST_WIDE_INT this_off = TREE_INT_CST_LOW (TREE_OPERAND (exp, > 2)); > + if (this_off % BITS_PER_UNIT) > + return NULL_TREE; > + byte_offset += this_off / BITS_PER_UNIT; > + } > + break;