diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-29 12:10:37 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-29 12:10:37 +0000 |
commit | 628e6f66aefb383df5860a04bc7aa76c4db06e21 (patch) | |
tree | 80e9a49f23a245a9a9bb707f20266ed9d7610890 /gcc/expr.c | |
parent | f31101214d893c537d6b8196e7c14d7d7ce98646 (diff) | |
download | gcc-628e6f66aefb383df5860a04bc7aa76c4db06e21.tar.gz |
* expr.c (expand_expr_real_1) <case MEM>: Eliminate small redundancy.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204155 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c index fbd301b67d1..4bb4d666968 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -9648,8 +9648,8 @@ expand_expr_real_1 (tree exp, rtx target, enum machine_mode tmode, rtx off = immed_double_int_const (mem_ref_offset (exp), address_mode); 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); set_mem_attributes (temp, exp, 0); set_mem_addr_space (temp, as); |