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
This commit is contained in:
Richard Biener 2015-11-16 15:04:00 +00:00 committed by Richard Biener
parent 2fe8dfe863
commit 513ecaea6f
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
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>
Kaz Kojima <kkojima@gcc.gnu.org>

View File

@ -967,13 +967,13 @@ vect_verify_datarefs_alignment (loop_vec_info vinfo)
/* For interleaving, only the alignment of the first access matters. */
if (STMT_VINFO_GROUPED_ACCESS (stmt_info)
&& GROUP_FIRST_ELEMENT (stmt_info) != stmt)
return true;
continue;
/* Strided accesses perform only component accesses, alignment is
irrelevant for them. */
if (STMT_VINFO_STRIDED_P (stmt_info)
&& !STMT_VINFO_GROUPED_ACCESS (stmt_info))
return true;
continue;
if (! verify_data_ref_alignment (dr))
return false;