(expand_assignment): Fix alignment parm in emit_block_move.
authorRichard Kenner <kenner@gcc.gnu.org>
Sat, 16 Dec 1995 23:24:02 +0000 (18:24 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 16 Dec 1995 23:24:02 +0000 (18:24 -0500)
From-SVN: r10781

gcc/expr.c

index 3b50ce0..b7860c0 100644 (file)
@@ -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);