public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Fix PR71505
@ 2016-06-13  9:44 Richard Biener
  0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2016-06-13  9:44 UTC (permalink / raw)
  To: gcc-patches


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.  */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-13  9:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-13  9:44 [PATCH] Fix PR71505 Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).