re PR middle-end/79454 (c-c++-common/ubsan/overflow-vec-*.c FAILs on some 64-bit BE targets)
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
This commit is contained in:
parent
b0c00c7a49
commit
6a5cdb0e9e
@ -1,3 +1,10 @@
|
||||
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
|
||||
|
@ -1909,7 +1909,7 @@ expand_vector_ubsan_overflow (location_t loc, enum tree_code code, tree lhs,
|
||||
{
|
||||
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)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user