aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/expr.cc')
-rw-r--r--gcc/expr.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/expr.cc b/gcc/expr.cc
index 0bf8083..34f5ff9 100644
--- a/gcc/expr.cc
+++ b/gcc/expr.cc
@@ -13621,6 +13621,8 @@ do_store_flag (sepops ops, rtx target, machine_mode mode)
if ((code == NE || code == EQ)
&& (integer_zerop (arg1)
|| integer_pow2p (arg1))
+ /* vector types are not handled here. */
+ && TREE_CODE (TREE_TYPE (arg1)) != VECTOR_TYPE
&& (TYPE_PRECISION (ops->type) != 1 || TYPE_UNSIGNED (ops->type)))
{
tree narg0 = arg0;