This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r182192 - in /trunk/gcc: ChangeLog expr.c optabs.c
- From: rth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 10 Dec 2011 20:43:04 -0000
- Subject: r182192 - in /trunk/gcc: ChangeLog expr.c optabs.c
Author: rth
Date: Sat Dec 10 20:43:03 2011
New Revision: 182192
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182192
Log:
Force the creation of a CONST_VECTOR for expand_vec_perm.
* expr.c (expand_expr_real_2) [VEC_PERM_EXPR]: Avoid passing a
CONST_INT to expand_vec_perm as the selector.
* optabs.c (expand_vec_perm): Assert the selector is of a proper mode.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/expr.c
trunk/gcc/optabs.c