From 419e1853a8747c6d344ed6f23cf6bb63299e485b Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 18 Mar 2011 09:35:17 +0100 Subject: 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 --- gcc/expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/expr.c') 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; -- cgit v1.2.1