Commit 8b4f7b47 by Andi Kleen Committed by Andi Kleen

Fix bootstrap-lto

gcc/

2012-09-03  Andi Kleen <ak@linux.intel.com>

	* tree-ssa-sccvn.c (vn_reference_fold_indirect): Initialize
	addr_offset always.

From-SVN: r190905
parent f35613b2
2012-09-03 Andi Kleen <ak@linux.intel.com>
* tree-ssa-sccvn.c (vn_reference_fold_indirect): Initialize
addr_offset always.
2012-09-03 Andrew Pinski <apinski@cavium.com> 2012-09-03 Andrew Pinski <apinski@cavium.com>
PR tree-opt/53395 PR tree-opt/53395
......
...@@ -1007,7 +1007,7 @@ vn_reference_fold_indirect (VEC (vn_reference_op_s, heap) **ops, ...@@ -1007,7 +1007,7 @@ vn_reference_fold_indirect (VEC (vn_reference_op_s, heap) **ops,
vn_reference_op_t op = &VEC_index (vn_reference_op_s, *ops, i); vn_reference_op_t op = &VEC_index (vn_reference_op_s, *ops, i);
vn_reference_op_t mem_op = &VEC_index (vn_reference_op_s, *ops, i - 1); vn_reference_op_t mem_op = &VEC_index (vn_reference_op_s, *ops, i - 1);
tree addr_base; tree addr_base;
HOST_WIDE_INT addr_offset; HOST_WIDE_INT addr_offset = 0;
/* The only thing we have to do is from &OBJ.foo.bar add the offset /* The only thing we have to do is from &OBJ.foo.bar add the offset
from .foo.bar to the preceding MEM_REF offset and replace the from .foo.bar to the preceding MEM_REF offset and replace the
......
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