2016-02-08 Richard Biener <rguenther@suse.de>
commitc4f4b1e884a727a87fed9f4ca6a85c4b6a6c6676
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Feb 2016 14:51:20 +0000 (8 14:51 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Feb 2016 14:51:20 +0000 (8 14:51 +0000)
tree7f1ece1ffd1bc7b81c6c7112437eb22de27ec20b
parent5a987d871da9b1bcba8672937d9f7fb8a18da590
2016-02-08  Richard Biener  <rguenther@suse.de>

PR tree-optimization/69719
* tree-vect-data-refs.c (vect_prune_runtime_alias_test_list):
Properly use absolute of the difference of the two offsets to
compare or adjust the segment length.

* gcc.dg/torture/pr69719.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233212 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr69719.c [new file with mode: 0644]
gcc/tree-vect-data-refs.c