tree-optimization/97769 - fix assert in peeling for alignment
authorRichard Biener <rguenther@suse.de>
Tue, 10 Nov 2020 12:36:22 +0000 (13:36 +0100)
committerRichard Biener <rguenther@suse.de>
Tue, 10 Nov 2020 12:37:49 +0000 (13:37 +0100)
commit1693746302e4306b43cb66a0afe589137069bd8e
tree44048382cc30ae4249deb51881a1948b737f6439
parent960c4712c8e1e08f29af999d4198bd96fcccb93c
tree-optimization/97769 - fix assert in peeling for alignment

The following removes an assert that can not easily be adjusted to
cover the additional cases we now handle after the removal of
the same-align DRs vector.

2020-11-10  Richard Biener  <rguenther@suse.de>

PR tree-optimization/97769
* tree-vect-data-refs.c (vect_update_misalignment_for_peel):
Remove assert.

* gcc.dg/vect/pr97769.c: New testcase.
gcc/testsuite/gcc.dg/vect/pr97769.c [new file with mode: 0644]
gcc/tree-vect-data-refs.c