tree-ssa-loop-ivopts.c (get_computation_cost_at): Initialize scratch field for goto case.

* tree-ssa-loop-ivopts.c (get_computation_cost_at): Initialize
	scratch field for goto case.

From-SVN: r234639
This commit is contained in:
Bin Cheng 2016-03-31 16:17:44 +00:00 committed by Bin Cheng
parent 5918459a1d
commit 865c2770db
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2016-03-31 Bin Cheng <bin.cheng@arm.com>
* tree-ssa-loop-ivopts.c (get_computation_cost_at): Initialize
scratch field for goto case.
2016-03-31 James Greenhalgh <james.greenhalgh@arm.com> 2016-03-31 James Greenhalgh <james.greenhalgh@arm.com>
* config/arm/linux-elf.h (ASM_OUTPUT_DEF): Delete. * config/arm/linux-elf.h (ASM_OUTPUT_DEF): Delete.

View File

@ -5030,7 +5030,9 @@ fallback:
if (address_p) if (address_p)
comp = build_simple_mem_ref (comp); comp = build_simple_mem_ref (comp);
return new_cost (computation_cost (comp, speed), 0); cost = new_cost (computation_cost (comp, speed), 0);
cost.scratch = 0;
return cost;
} }
} }