* expr.c (expand_expr_real_1): Use mode of memory reference rather
than mode of address computation when calling memory_address_addr_space.
From-SVN: r204044
+2013-10-24 Igor Shevlyakov <igor.shevlyakov@gmail.com>
+
+ * expr.c (expand_expr_real_1): Use mode of memory reference rather
+ than mode of address computation when calling memory_address_addr_space.
+
2013-08-24 Richard Henderson <rth@twiddle.net>
PR rtl/58542
}
align = get_object_alignment (exp);
op0 = expand_expr (base, NULL_RTX, VOIDmode, EXPAND_SUM);
- op0 = memory_address_addr_space (address_mode, op0, as);
+ op0 = memory_address_addr_space (mode, op0, as);
if (!integer_zerop (TREE_OPERAND (exp, 1)))
{
rtx off