PR 50746
* optabs.c (expand_vec_perm_expr): Fix indexing error.
From-SVN: r180100
+2011-10-17 Richard Henderson <rth@redhat.com>
+
+ PR 50746
+ * optabs.c (expand_vec_perm_expr): Fix indexing error.
+
2011-10-17 Sergio Durigan Junior <sergiodj@redhat.com>
* configure.ac: Display `yes' if the SystemTap header has been
this_e *= u;
for (j = 0; j < u; ++j)
- vec[i * e + j] = GEN_INT (this_e + j);
+ vec[i * u + j] = GEN_INT (this_e + j);
}
sel_rtx = gen_rtx_CONST_VECTOR (qimode, gen_rtvec_v (w, vec));
}