re PR middle-end/80815 (wrong code because of broken runtime alias check in vectorizer)
authorBin Cheng <bin.cheng@arm.com>
Fri, 26 May 2017 14:18:26 +0000 (14:18 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Fri, 26 May 2017 14:18:26 +0000 (14:18 +0000)
commitcb4fe4013684c2984b309f799373837af582b24a
tree3a080810552bd1f2e2137d825f6c70a399518d5d
parent8d44cf7275527abc86f33e6d6c51fc84fa9c877a
re PR middle-end/80815 (wrong code because of broken runtime alias check in vectorizer)

PR tree-optimization/80815
* tree-data-ref.c (prune_runtime_alias_test_list): Simplify condition
for merging runtime alias checks.  Handle negative DR_STEPs.
gcc/testsuite
* gcc.dg/vect/pr80815-1.c: New test.
* gcc.dg/vect/pr80815-2.c: New test.

From-SVN: r248512
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr80815-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/pr80815-2.c [new file with mode: 0644]
gcc/tree-data-ref.c