Commit 825298c4 by Jakub Jelinek Committed by Jakub Jelinek

re PR middle-end/50074 (gcc.dg/sibcall-6.c execution test on x86_64 with -fPIC)

	PR middle-end/50074
	* expr.c (expand_expr_addr_expr_1): Don't call force_operand for
	EXPAND_SUM modifier.

From-SVN: r181800
parent 40207762
2011-11-29 Jakub Jelinek <jakub@redhat.com>
PR middle-end/50074
* expr.c (expand_expr_addr_expr_1): Don't call force_operand for
EXPAND_SUM modifier.
2011-11-29 Ira Rosen <ira.rosen@linaro.org> 2011-11-29 Ira Rosen <ira.rosen@linaro.org>
PR tree-optimization/51301 PR tree-optimization/51301
...@@ -7452,7 +7452,8 @@ expand_expr_addr_expr_1 (tree exp, rtx target, enum machine_mode tmode, ...@@ -7452,7 +7452,8 @@ expand_expr_addr_expr_1 (tree exp, rtx target, enum machine_mode tmode,
} }
if (modifier != EXPAND_INITIALIZER if (modifier != EXPAND_INITIALIZER
&& modifier != EXPAND_CONST_ADDRESS) && modifier != EXPAND_CONST_ADDRESS
&& modifier != EXPAND_SUM)
result = force_operand (result, target); result = force_operand (result, target);
return result; return result;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment