Commit 48176d81 by Richard Guenther Committed by Richard Biener

re PR middle-end/45176 (restrict qualifier is not used in a manually unrolled loop)

2010-08-04  Richard Guenther  <rguenther@suse.de>

	PR middle-end/45176
	* expr.c (expand_expr_real_1): Also preserve TARGET_MEM_REF
	points-to set for original MEM_REF.

From-SVN: r162862
parent 84d77ca6
2010-08-04 Richard Guenther <rguenther@suse.de> 2010-08-04 Richard Guenther <rguenther@suse.de>
PR middle-end/45176
* expr.c (expand_expr_real_1): Also preserve TARGET_MEM_REF
points-to set for original MEM_REF.
2010-08-04 Richard Guenther <rguenther@suse.de>
* tree-ssa-ccp.c (get_constant_value): New function. * tree-ssa-ccp.c (get_constant_value): New function.
(get_rhs_assign_op_for_ccp): Remove. (get_rhs_assign_op_for_ccp): Remove.
(valueize_op): New function. (valueize_op): New function.
......
...@@ -8665,7 +8665,7 @@ expand_expr_real_1 (tree exp, rtx target, enum machine_mode tmode, ...@@ -8665,7 +8665,7 @@ expand_expr_real_1 (tree exp, rtx target, enum machine_mode tmode,
set_mem_addr_space (temp, as); set_mem_addr_space (temp, as);
base = get_base_address (TMR_ORIGINAL (exp)); base = get_base_address (TMR_ORIGINAL (exp));
if (base if (base
&& INDIRECT_REF_P (base) && (INDIRECT_REF_P (base) || TREE_CODE (base) == MEM_REF)
&& TMR_BASE (exp) && TMR_BASE (exp)
&& TREE_CODE (TMR_BASE (exp)) == SSA_NAME && TREE_CODE (TMR_BASE (exp)) == SSA_NAME
&& POINTER_TYPE_P (TREE_TYPE (TMR_BASE (exp)))) && POINTER_TYPE_P (TREE_TYPE (TMR_BASE (exp))))
......
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