]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR tree-optimization/71505 (-O3 internal compiler error in vect_analyze_data_ref_a...
authorRichard Biener <rguenther@suse.de>
Mon, 13 Jun 2016 10:33:30 +0000 (10:33 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 13 Jun 2016 10:33:30 +0000 (10:33 +0000)
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.

From-SVN: r237374

gcc/ChangeLog
gcc/tree-vect-data-refs.c

index 39b7bd561a7301a2fad9336d2c9a244c66255b5c..6ec0552202b846f744d1bd90252920af105226be 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2016-06-07  Peter Bergner  <bergner@vnet.ibm.com>
 
        Backport from mainline
index 7e8018385227aaac00ea55e1cc9d113edd95e810..a298020c2fd457935fbaaf8f12710ea9cb6756ce 100644 (file)
@@ -2563,7 +2563,7 @@ vect_analyze_data_ref_accesses (loop_vec_info loop_vinfo, bb_vec_info bb_vinfo)
          /* 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.  */