OSDN Git Service

Force the creation of a CONST_VECTOR for expand_vec_perm.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 10 Dec 2011 20:43:03 +0000 (20:43 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 10 Dec 2011 20:43:03 +0000 (20:43 +0000)
commitd9198d8536af4470fffc9d1e70626d106d8a8ac7
tree64952c5ea5b975ebfc52549bce82d112fa6ee2eb
parentde44e2b0d694d2d0f596cdb2cd88624106650ed5
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182192 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expr.c
gcc/optabs.c