re PR target/65369 (nettle test failure on powerpc64le-linux-gnu when built with...
authorJakub Jelinek <jakub@redhat.com>
Sat, 14 Mar 2015 09:56:39 +0000 (10:56 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 14 Mar 2015 09:56:39 +0000 (10:56 +0100)
commitd88981fc3e1d9b1394a45074ead47d0ced23212b
tree229cae22bf6424d52651925a796ec94bb05934c4
parentc2f41ffd2447492ac54381162abe1aceed58812d
re PR target/65369 (nettle test failure on powerpc64le-linux-gnu when built with -O3)

PR tree-optimization/65369
* tree-vect-stmts.c (vectorizable_load) <case dr_explicit_realign>:
Set bump to vs * TYPE_SIZE_UNIT (elem_type) - 1 instead of
(vs - 1) * TYPE_SIZE_UNIT (elem_type).

* gcc.c-torture/execute/pr65369.c: New test.

From-SVN: r221435
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr65369.c [new file with mode: 0644]
gcc/tree-vect-stmts.c