summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1996-01-15 01:34:36 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1996-01-15 01:34:36 +0000
commitb1f3ec02618c1fd0539ca1439a8f28d18775aaef (patch)
tree740e780aaacc6eeb8671fd43dd1abab367127f5d
parent5c1ff3a340b75c7fd96c9c5f0e80769294235f46 (diff)
downloadgcc-b1f3ec02618c1fd0539ca1439a8f28d18775aaef.tar.gz
* 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
-rw-r--r--gcc/expr.c2
1 files changed, 1 insertions, 1 deletions
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);