re PR tree-optimization/50746 (FAIL: gcc.dg/vect/pr37482.c (internal compiler error) on powerpc-apple-darwin9)
PR 50746 * optabs.c (expand_vec_perm_expr): Fix indexing error. From-SVN: r180100
This commit is contained in:
parent
1e06b07d0c
commit
42a04c4841
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -6837,7 +6837,7 @@ expand_vec_perm_expr (tree type, tree v0, tree v1, tree sel, rtx target)
|
|||
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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue