From 7a5824c6d7145af4ace36c6ec60660248c3cb57f Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 13 Jun 2016 09:44:51 +0000 Subject: [PATCH] re PR tree-optimization/71505 (-O3 internal compiler error in vect_analyze_data_ref_accesses, at tree-vect-data-refs.c:2596) 2016-06-13 Richard Biener PR tree-optimization/71505 * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Make assert match comment. From-SVN: r237368 --- gcc/ChangeLog | 6 ++++++ gcc/tree-vect-data-refs.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ae42dc98622..fbd985b01b3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-06-13 Richard Biener + + PR tree-optimization/71505 + * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Make + assert match comment. + 2016-06-13 Marek Polacek PR middle-end/71476 diff --git a/gcc/tree-vect-data-refs.c b/gcc/tree-vect-data-refs.c index e640bbda790..084469f2afe 100644 --- a/gcc/tree-vect-data-refs.c +++ b/gcc/tree-vect-data-refs.c @@ -2752,7 +2752,7 @@ vect_analyze_data_ref_accesses (vec_info *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. */ -- 2.30.2