diff options
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r-- | gcc/optabs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c index 2f981ab..466a56c 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -5475,7 +5475,7 @@ expand_vec_cond_expr (tree vec_cond_expr, rtx target) if (icode == CODE_FOR_nothing) return 0; - if (!target) + if (!target || !insn_data[icode].operand[0].predicate (target, mode)) target = gen_reg_rtx (mode); /* Get comparison rtx. First expand both cond expr operands. */ |