Message ID | alpine.LNX.2.00.1201241633040.4999@zhemvz.fhfr.qr |
---|---|
State | New |
Headers | show |
On Tue, Jan 24, 2012 at 04:38:46PM +0100, Richard Guenther wrote: > Bootstrapped and tested on x86_64-unknown-linux-gnu, ok for trunk? > 2012-01-24 Richard Guenther <rguenther@suse.de> > > PR tree-optimization/50444 > * expr.c (expand_assignment): Handle misaligned bases consistently, > even when wrapped inside component references. This is ok for trunk, unless somebody objects within next 24 hours. Jakub
Index: gcc/expr.c =================================================================== --- gcc/expr.c (revision 183470) +++ gcc/expr.c (working copy) @@ -6429,8 +6432,6 @@ store_field (rtx target, HOST_WIDE_INT b if (to_rtx == target) to_rtx = copy_rtx (to_rtx); - if (!MEM_SCALAR_P (to_rtx)) - MEM_IN_STRUCT_P (to_rtx) = 1; if (!MEM_KEEP_ALIAS_SET_P (to_rtx) && MEM_ALIAS_SET (to_rtx) != 0) set_mem_alias_set (to_rtx, alias_set);