+2013-11-11 Cong Hou <congh@google.com>
+
+ PR tree-optimization/59050
+ * tree-vect-data-refs.c (comp_dr_addr_with_seg_len_pair): Bug fix.
+
2013-11-11 Joern Rennecke <joern.rennecke@embecosm.com>
PR middle-end/59049
if (comp_res != 0)
return comp_res;
}
- if (tree_int_cst_compare (p11.offset, p21.offset) < 0)
+ else if (tree_int_cst_compare (p11.offset, p21.offset) < 0)
return -1;
- if (tree_int_cst_compare (p11.offset, p21.offset) > 0)
+ else if (tree_int_cst_compare (p11.offset, p21.offset) > 0)
return 1;
if (TREE_CODE (p12.offset) != INTEGER_CST
|| TREE_CODE (p22.offset) != INTEGER_CST)
if (comp_res != 0)
return comp_res;
}
- if (tree_int_cst_compare (p12.offset, p22.offset) < 0)
+ else if (tree_int_cst_compare (p12.offset, p22.offset) < 0)
return -1;
- if (tree_int_cst_compare (p12.offset, p22.offset) > 0)
+ else if (tree_int_cst_compare (p12.offset, p22.offset) > 0)
return 1;
return 0;