From: Jeff Law Date: Mon, 15 Jan 1996 01:34:36 +0000 (-0700) Subject: * expr.c (expand_assignment): Fix alignment parm in emit_block_move. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff9b5bd87cd73e1ac1a84c290c071b373148ab37;p=gcc.git * expr.c (expand_assignment): Fix alignment parm in emit_block_move. From-SVN: r10977 --- 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);