* expr.c (expand_expr_real_1) <case MEM>: Eliminate small redundancy.
From-SVN: r204155
This commit is contained in:
parent
f80b28a0f4
commit
96f1f3fad6
|
@ -1,3 +1,7 @@
|
||||||
|
2013-10-29 Eric Botcazou <ebotcazou@adacore.com>
|
||||||
|
|
||||||
|
* expr.c (expand_expr_real_1) <case MEM>: Eliminate small redundancy.
|
||||||
|
|
||||||
2013-10-29 David Malcolm <dmalcolm@redhat.com>
|
2013-10-29 David Malcolm <dmalcolm@redhat.com>
|
||||||
|
|
||||||
* doc/gty.texi ("Inheritance and GTY"): Make it clear that
|
* doc/gty.texi ("Inheritance and GTY"): Make it clear that
|
||||||
|
|
|
@ -9648,8 +9648,8 @@ expand_expr_real_1 (tree exp, rtx target, enum machine_mode tmode,
|
||||||
rtx off
|
rtx off
|
||||||
= immed_double_int_const (mem_ref_offset (exp), address_mode);
|
= immed_double_int_const (mem_ref_offset (exp), address_mode);
|
||||||
op0 = simplify_gen_binary (PLUS, address_mode, op0, off);
|
op0 = simplify_gen_binary (PLUS, address_mode, op0, off);
|
||||||
|
op0 = memory_address_addr_space (mode, op0, as);
|
||||||
}
|
}
|
||||||
op0 = memory_address_addr_space (mode, op0, as);
|
|
||||||
temp = gen_rtx_MEM (mode, op0);
|
temp = gen_rtx_MEM (mode, op0);
|
||||||
set_mem_attributes (temp, exp, 0);
|
set_mem_attributes (temp, exp, 0);
|
||||||
set_mem_addr_space (temp, as);
|
set_mem_addr_space (temp, as);
|
||||||
|
|
Loading…
Reference in New Issue