Commit 513ecaea by Richard Biener Committed by Richard Biener

re PR tree-optimization/68306 (ICE: in vectorizable_store, at tree-vect-stmts.c:5651)

2015-11-16  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/68306
	* tree-vect-data-refs.c (vect_verify_datarefs_alignment): Fix
	bogus copying from verify_data_ref_alignment and use continue
	instead of return.

From-SVN: r230428
parent 2fe8dfe8
2015-11-16 Richard Biener <rguenther@suse.de>
PR tree-optimization/68306
* tree-vect-data-refs.c (vect_verify_datarefs_alignment): Fix
bogus copying from verify_data_ref_alignment and use continue
instead of return.
2015-11-16 Oleg Endo <olegendo@gcc.gnu.org> 2015-11-16 Oleg Endo <olegendo@gcc.gnu.org>
Kaz Kojima <kkojima@gcc.gnu.org> Kaz Kojima <kkojima@gcc.gnu.org>
...@@ -967,13 +967,13 @@ vect_verify_datarefs_alignment (loop_vec_info vinfo) ...@@ -967,13 +967,13 @@ vect_verify_datarefs_alignment (loop_vec_info vinfo)
/* For interleaving, only the alignment of the first access matters. */ /* For interleaving, only the alignment of the first access matters. */
if (STMT_VINFO_GROUPED_ACCESS (stmt_info) if (STMT_VINFO_GROUPED_ACCESS (stmt_info)
&& GROUP_FIRST_ELEMENT (stmt_info) != stmt) && GROUP_FIRST_ELEMENT (stmt_info) != stmt)
return true; continue;
/* Strided accesses perform only component accesses, alignment is /* Strided accesses perform only component accesses, alignment is
irrelevant for them. */ irrelevant for them. */
if (STMT_VINFO_STRIDED_P (stmt_info) if (STMT_VINFO_STRIDED_P (stmt_info)
&& !STMT_VINFO_GROUPED_ACCESS (stmt_info)) && !STMT_VINFO_GROUPED_ACCESS (stmt_info))
return true; continue;
if (! verify_data_ref_alignment (dr)) if (! verify_data_ref_alignment (dr))
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment