re PR tree-optimization/68306 (ICE: in vectorizable_store, at tree-vect-stmts.c:5651)
authorRichard Biener <rguenther@suse.de>
Mon, 16 Nov 2015 15:04:00 +0000 (15:04 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 16 Nov 2015 15:04:00 +0000 (15:04 +0000)
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

gcc/ChangeLog
gcc/tree-vect-data-refs.c

index aabed12bb03ee8249390bb80a387d8b9d2d34c94..020a00cddbedf59149c0f36ce2cdcce54ae833bb 100644 (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>
 
index f9327d7d89901ee4be8827be3a0368acbc70795e..9ee6efe73e06460c935cc365b2840a17e392fbda 100644 (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;