From: Richard Kenner Date: Tue, 2 Jan 2001 16:40:35 +0000 (-0500) Subject: expr.c (store_constructor_field): Update ALIGN before calling store_constructor. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e0339ef7a37ec257b5f32a2dbd6c033974924242;p=platform%2Fupstream%2Fgcc.git expr.c (store_constructor_field): Update ALIGN before calling store_constructor. * expr.c (store_constructor_field): Update ALIGN before calling store_constructor. From-SVN: r38629 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3dece5f..d379f7a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Jan 2 10:47:38 2001 Richard Kenner * config/mips/mips.c (function_arg): Don't pass NULL_TREE to diff --git a/gcc/expr.c b/gcc/expr.c index 25379e7..114f74f 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -4339,8 +4339,13 @@ store_constructor_field (target, bitsize, bitpos, plus_constant (XEXP (target, 0), bitpos / BITS_PER_UNIT)); + + /* Show the alignment may no longer be what it was and update the alias + set, if required. */ + align = MIN (align, bitpos & - bitpos); if (GET_CODE (target) == MEM) MEM_ALIAS_SET (target) = alias_set; + store_constructor (exp, target, align, cleared, bitsize / BITS_PER_UNIT); } else