re PR tree-optimization/77937 (ICE: in replace_one_candidate, at gimple-ssa-strength...
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Thu, 13 Oct 2016 15:34:22 +0000 (15:34 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Thu, 13 Oct 2016 15:34:22 +0000 (15:34 +0000)
commit2d4035dcd7b0be8a9edefb9af8121ae0eaabaa7c
tree38c4fd2638c17f9652e395bc39302aed39fd44fd
parent58f7dab40db417ab669a0a1e146aa6e3227e3989
re PR tree-optimization/77937 (ICE: in replace_one_candidate, at gimple-ssa-strength-reduction.c:3370)

2016-10-13  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR tree-optimization/77937
* gimple-ssa-strength-reduction.c (analyze_increments): Set cost
to infinite when we have a pointer with an increment of -1.

From-SVN: r241125
gcc/ChangeLog
gcc/gimple-ssa-strength-reduction.c