re PR tree-optimization/87665 (gcc HEAD (svn: 265340) breaks elements on resize)
authorRichard Biener <rguenther@suse.de>
Wed, 24 Oct 2018 06:52:45 +0000 (06:52 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 24 Oct 2018 06:52:45 +0000 (06:52 +0000)
commitbf32992748c9849c38c089477d04b546e43ccdd1
treeb6a79a842c11272da8db5e0f790b1cbb6bf0d410
parent4b763deedb282b480fe4c2b3a8ad07192393f1b1
re PR tree-optimization/87665 (gcc HEAD (svn: 265340) breaks elements on resize)

2018-10-24  Richard Biener  <rguenther@suse.de>

PR tree-optimization/87665
* tree-vect-data-refs.c (vect_preserves_scalar_order_p): Adjust
to reflect reality.

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

From-SVN: r265452
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr87665.c [new file with mode: 0644]
gcc/tree-vect-data-refs.c