Commit 9f887d05 by Richard Kenner Committed by Richard Kenner

expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is known to be multiple of divisor.

	* expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
	known to be multiple of divisor.

From-SVN: r30677
parent dd1db5ec
Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
known to be multiple of divisor.
* expr.c (store_constructor): Don't clobber TARGET if CLEARED.
* combine.c (try_combine): Add code to try to merge a set of a
......
......@@ -4185,7 +4185,7 @@ store_constructor (exp, target, align, cleared)
offset = build (WITH_RECORD_EXPR, sizetype,
offset, make_tree (TREE_TYPE (exp), target));
offset = size_binop (FLOOR_DIV_EXPR, offset,
offset = size_binop (EXACT_DIV_EXPR, offset,
size_int (BITS_PER_UNIT));
offset_rtx = expand_expr (offset, NULL_RTX, VOIDmode, 0);
......
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