optabs.c (expand_vec_cond_expr): Always get sign from type.
authorIlya Enkovich <enkovich.gnu@gmail.com>
Mon, 9 Nov 2015 15:11:02 +0000 (15:11 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Mon, 9 Nov 2015 15:11:02 +0000 (15:11 +0000)
commit0e657ecb98b8413b41975ddfce8e240186720977
tree356c7ce476f9dfc1708d4f64fb523e2a036c35c9
parent0b3ecf755196df79c795c8b9bbcb735adbb604d0
optabs.c (expand_vec_cond_expr): Always get sign from type.

gcc/

* optabs.c (expand_vec_cond_expr): Always get sign from type.
* tree.c (wide_int_to_tree): Support negative values for boolean.
(build_nonstandard_boolean_type): Use signed type for booleans.

From-SVN: r230022
gcc/ChangeLog
gcc/optabs.c
gcc/tree.c