Commit e0339ef7 by Richard Kenner Committed by Richard Kenner

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
parent bd86a964
Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
* expr.c (store_constructor_field): Update ALIGN before calling
store_constructor.
2001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
* config/mips/mips.c (function_arg): Don't pass NULL_TREE to
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment