re PR target/69010 (Boolean vector constant with a scalar mode is expanded incorrectly)
gcc/ PR target/69010 * expr.c (expand_expr_real_1): For boolean vector constants with a scalar mode use const_scalar_mask_from_tree. (const_scalar_mask_from_tree): New. * optabs.c (expand_vec_cond_mask_expr): Use mask mode assigned to a mask type to handle constants. gcc/testsuite/ PR target/69010 * gcc.target/i386/pr69010.c: New test. From-SVN: r232216
Showing
gcc/testsuite/gcc.target/i386/pr69010.c
0 → 100644
Please
register
or
sign in
to comment