+2018-01-16 Richard Sandiford <richard.sandiford@linaro.org>
+
+ * tree-vect-data-refs.c (vect_analyze_data_ref_accesses):
+
2018-01-16 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/86620
+2018-01-16 Richard Sandiford <richard.sandiford@linaro.org>
+
+ * gcc.dg/torture/pr83847.c: New test.
+
2018-01-16 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/86620
data_reference_p dra = datarefs_copy[i];
stmt_vec_info stmtinfo_a = vinfo_for_stmt (DR_STMT (dra));
stmt_vec_info lastinfo = NULL;
- if (! STMT_VINFO_VECTORIZABLE (stmtinfo_a))
+ if (!STMT_VINFO_VECTORIZABLE (stmtinfo_a)
+ || STMT_VINFO_GATHER_SCATTER_P (stmtinfo_a))
{
++i;
continue;
{
data_reference_p drb = datarefs_copy[i];
stmt_vec_info stmtinfo_b = vinfo_for_stmt (DR_STMT (drb));
- if (! STMT_VINFO_VECTORIZABLE (stmtinfo_b))
+ if (!STMT_VINFO_VECTORIZABLE (stmtinfo_b)
+ || STMT_VINFO_GATHER_SCATTER_P (stmtinfo_b))
break;
/* ??? Imperfect sorting (non-compatible types, non-modulo