projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
058e0bb
)
(expand_assignment): Fix alignment parm in emit_block_move.
author
Richard Kenner
<kenner@gcc.gnu.org>
Sat, 16 Dec 1995 23:24:02 +0000
(18:24 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Sat, 16 Dec 1995 23:24:02 +0000
(18:24 -0500)
From-SVN: r10781
gcc/expr.c
patch
|
blob
|
history
diff --git
a/gcc/expr.c
b/gcc/expr.c
index
3b50ce0
..
b7860c0
100644
(file)
--- a/
gcc/expr.c
+++ b/
gcc/expr.c
@@
-2588,10
+2588,8
@@
expand_assignment (to, from, want_value, suggest_reg)
to_rtx = expand_expr (to, NULL_RTX, VOIDmode, 0);
if (GET_MODE (to_rtx) == BLKmode)
- {
- int align = MIN (TYPE_ALIGN (TREE_TYPE (from)), BITS_PER_WORD);
- emit_block_move (to_rtx, value, expr_size (from), align);
- }
+ emit_block_move (to_rtx, value, expr_size (from),
+ TYPE_ALIGN (TREE_TYPE (from)) / BITS_PER_WORD);
else
emit_move_insn (to_rtx, value);
preserve_temp_slots (to_rtx);