Re: RFC/A: set_mem_attributes_minus_bitpos tweak

2012-11-15 Thread Eric Botcazou
> Tested on x86_64-linux-gnu. OK to install? > > Richard > > > gcc/ > * expr.c (expand_assignment): Don't set MEM_KEEP_ALIAS_SET_P here. > * emit-rtl.c (set_mem_attributes_minus_bitpos): Handle DECL_BIT_FIELDs, > using their size instead of the COMPONENT_REF's. Fine with me.

Re: RFC/A: set_mem_attributes_minus_bitpos tweak

2012-11-15 Thread Richard Sandiford
Eric Botcazou writes: >> expand_assignment calls: >> >>if (MEM_P (to_rtx)) >> { >>/* If the field is at offset zero, we could have been given >> the DECL_RTX of the parent struct. Don't munge it. */ to_rtx = >> shallow_copy_rtx (to_rtx); >> >>

Re: RFC/A: set_mem_attributes_minus_bitpos tweak

2012-11-07 Thread Eric Botcazou
> expand_assignment calls: > >if (MEM_P (to_rtx)) > { >/* If the field is at offset zero, we could have been given > the DECL_RTX of the parent struct. Don't munge it. */ to_rtx = > shallow_copy_rtx (to_rtx); > >set_mem_attributes_minus_b