* expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space
instead of convert_memory_address_addr_space on the base expression.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168447
138bc75d-0d04-0410-961f-
82ee72b054a4
+2011-01-03 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR middle-end/47017
+ * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space
+ instead of convert_memory_address_addr_space on the base expression.
+
2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* config/spu/spu.c (spu_option_override): Update error text
align = MAX (TYPE_ALIGN (TREE_TYPE (exp)),
get_object_alignment (exp, BIGGEST_ALIGNMENT));
op0 = expand_expr (base, NULL_RTX, VOIDmode, EXPAND_SUM);
- op0 = convert_memory_address_addr_space (address_mode, op0, as);
+ op0 = memory_address_addr_space (address_mode, op0, as);
if (!integer_zerop (TREE_OPERAND (exp, 1)))
{
rtx off