diff options
author | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-03-18 09:35:17 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-03-18 09:35:17 +0100 |
commit | 419e1853a8747c6d344ed6f23cf6bb63299e485b (patch) | |
tree | 0bfe806b315f15e8355b6dd3d2cab264dd52adb1 /gcc/expr.c | |
parent | 378758560b4267ee5cd338d153ee3b93a7e16c3b (diff) | |
download | gcc-419e1853a8747c6d344ed6f23cf6bb63299e485b.tar.gz |
re PR bootstrap/48161 (hppa*-*-* will not bootstrap on 4.6 branch with release checking)
PR bootstrap/48161
* expr.c (expand_expr_addr_expr_1): Use simplify_gen_binary
instead of gen_rtx_PLUS if EXPAND_SUM or EXPAND_INITIALIZER.
* gcc.c-torture/compile/pr48161.c: New test.
From-SVN: r171126
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 6a5f74b4210..3295156e139 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -6971,7 +6971,7 @@ expand_expr_addr_expr_1 (tree exp, rtx target, enum machine_mode tmode, tmp = convert_memory_address_addr_space (tmode, tmp, as); if (modifier == EXPAND_SUM || modifier == EXPAND_INITIALIZER) - result = gen_rtx_PLUS (tmode, result, tmp); + result = simplify_gen_binary (PLUS, tmode, result, tmp); else { subtarget = bitpos ? NULL_RTX : target; |