[PATCH] Fix PR71505
Richard Biener
rguenther@suse.de
Mon Jun 13 09:44:00 GMT 2016
Committed as obvious to trunk and branches.
Richard.
2016-06-13 Richard Biener <rguenther@suse.de>
PR tree-optimization/71505
* tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Make
assert match comment.
Index: gcc/tree-vect-data-refs.c
===================================================================
--- gcc/tree-vect-data-refs.c (revision 237367)
+++ gcc/tree-vect-data-refs.c (working copy)
@@ -2752,7 +2752,7 @@ vect_analyze_data_ref_accesses (vec_info
/* Sorting has ensured that DR_INIT (dra) <= DR_INIT (drb). */
HOST_WIDE_INT init_a = TREE_INT_CST_LOW (DR_INIT (dra));
HOST_WIDE_INT init_b = TREE_INT_CST_LOW (DR_INIT (drb));
- gcc_assert (init_a < init_b);
+ gcc_assert (init_a <= init_b);
/* If init_b == init_a + the size of the type * k, we have an
interleaving, and DRA is accessed before DRB. */
More information about the Gcc-patches
mailing list