PR target/64055
* tree-chkp.c (chkp_find_bound_slots_1): Allow non constant
values in array domain.
From-SVN: r218207
+2014-12-01 Ilya Enkovich <ilya.enkovich@intel.com>
+
+ PR target/64055
+ * tree-chkp.c (chkp_find_bound_slots_1): Allow non constant
+ values in array domain.
+
2014-12-01 Yuri Rumyantsev <ysrumyan@gmail.com>
PR tree-optimization/63941
HOST_WIDE_INT esize = TREE_INT_CST_LOW (TYPE_SIZE (etype));
unsigned HOST_WIDE_INT cur;
- if (!maxval || integer_minus_onep (maxval))
+ if (!maxval
+ || TREE_CODE (maxval) != INTEGER_CST
+ || integer_minus_onep (maxval))
return;
for (cur = 0; cur <= TREE_INT_CST_LOW (maxval); cur++)