* expr.c (expand_expr, case ADDR_EXPR): Only copy for misaligned if
BLKmode.
From-SVN: r47086
+Fri Nov 16 07:12:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
+
+ * expr.c (expand_expr, case ADDR_EXPR): Only copy for misaligned if
+ BLKmode.
+
Fri Nov 16 06:37:05 2001 Andreas Tobler <a.tobler@schweiz.ch>
* config/sparc/sparc.c: Remove ALIGN arg from emit_cmp_insn.
/* If OP0 is not aligned as least as much as the type requires,
we need to make a temporary, copy OP0 to it, and take the
address of the temporary. */
- if (expr_align (TREE_OPERAND (exp, 0)) > MEM_ALIGN (op0))
+ if (GET_MODE (op0) == BLKmode
+ && expr_align (TREE_OPERAND (exp, 0)) > MEM_ALIGN (op0))
{
tree inner_type = TREE_TYPE (TREE_OPERAND (exp, 0));
rtx new