From: Richard Biener Date: Mon, 16 Nov 2015 15:04:00 +0000 (+0000) Subject: re PR tree-optimization/68306 (ICE: in vectorizable_store, at tree-vect-stmts.c:5651) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=513ecaea6f71665e75458188d26432c627392cc0;p=gcc.git re PR tree-optimization/68306 (ICE: in vectorizable_store, at tree-vect-stmts.c:5651) 2015-11-16 Richard Biener 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aabed12bb03..020a00cddbe 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2015-11-16 Richard Biener + + 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 Kaz Kojima diff --git a/gcc/tree-vect-data-refs.c b/gcc/tree-vect-data-refs.c index f9327d7d899..9ee6efe73e0 100644 --- a/gcc/tree-vect-data-refs.c +++ b/gcc/tree-vect-data-refs.c @@ -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;