* expr.c (expand_assignment): Fix alignment parm in emit_block_move.
authorJeff Law <law@gcc.gnu.org>
Mon, 15 Jan 1996 01:34:36 +0000 (18:34 -0700)
committerJeff Law <law@gcc.gnu.org>
Mon, 15 Jan 1996 01:34:36 +0000 (18:34 -0700)
From-SVN: r10977

gcc/expr.c

index 2fb7304bdafda48dd5804e3018143eb05bfdb060..4d8e323a028b8e87bbdfc5e1c2a7c32f9f3db04b 100644 (file)
@@ -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);