tree-ssa-loop-ivopts.c (get_computation_cost_at): Check depends_on before using it.
authorBin Cheng <bin.cheng@arm.com>
Tue, 3 May 2016 08:54:49 +0000 (08:54 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Tue, 3 May 2016 08:54:49 +0000 (08:54 +0000)
commit15526589cf190bc111e1ef27f713e2d46c449172
tree32b4fea619a379b16226919fba3c4042443d7eaf
parente0db140205f73e6fecf8dee1c1dd35d41e653d7b
tree-ssa-loop-ivopts.c (get_computation_cost_at): Check depends_on before using it.

* tree-ssa-loop-ivopts.c (get_computation_cost_at): Check depends_on
before using it.

From-SVN: r235807
gcc/ChangeLog
gcc/tree-ssa-loop-ivopts.c