PR middle-end/79454
* internal-fn.c (expand_vector_ubsan_overflow): Use piece-wise
result computation whenever lhs doesn't have vector mode, not
just when it has BLKmode.
From-SVN: r245354
+2017-02-11 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/79454
+ * internal-fn.c (expand_vector_ubsan_overflow): Use piece-wise
+ result computation whenever lhs doesn't have vector mode, not
+ just when it has BLKmode.
+
2017-02-10 Gerald Pfeifer <gerald@pfeifer.com>
* doc/makefile.texi (profiledbootstrap): Refer to the
{
optab op;
lhsr = expand_expr (lhs, NULL_RTX, VOIDmode, EXPAND_WRITE);
- if (GET_MODE (lhsr) == BLKmode
+ if (!VECTOR_MODE_P (GET_MODE (lhsr))
|| (op = optab_for_tree_code (code, TREE_TYPE (arg0),
optab_default)) == unknown_optab
|| (optab_handler (op, TYPE_MODE (TREE_TYPE (arg0)))