From b1f3ec02618c1fd0539ca1439a8f28d18775aaef Mon Sep 17 00:00:00 2001 From: law Date: Mon, 15 Jan 1996 01:34:36 +0000 Subject: [PATCH] * expr.c (expand_assignment): Fix alignment parm in emit_block_move. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10977 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/expr.c b/gcc/expr.c index 2fb7304bdaf..4d8e323a028 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -2806,7 +2806,7 @@ expand_assignment (to, from, want_value, suggest_reg) if (GET_MODE (to_rtx) == BLKmode) emit_block_move (to_rtx, value, expr_size (from), - TYPE_ALIGN (TREE_TYPE (from)) / BITS_PER_WORD); + TYPE_ALIGN (TREE_TYPE (from)) / BITS_PER_UNIT); else emit_move_insn (to_rtx, value); preserve_temp_slots (to_rtx); -- 2.11.4.GIT