tree-vect-data-refs.c (vect_check_gather_scatter): Fail for reverse storage order...
authorRichard Biener <rguenth@gcc.gnu.org>
Mon, 25 Jun 2018 11:01:07 +0000 (11:01 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 25 Jun 2018 11:01:07 +0000 (11:01 +0000)
commit8c9632905d39afc3c431d0ff4d318d15c9250344
treefdcd027e09d9df073024307aa4ef905b180ea483
parentfd082a66f8be44616584164672eeb8e2779c5593
tree-vect-data-refs.c (vect_check_gather_scatter): Fail for reverse storage order accesses rather than asserting they cannot...

2018-06-25  Richard Biener  <rguenther@suse.de>
        Eric Botcazou  <ebotcazou@libertysurf.fr>

* tree-vect-data-refs.c (vect_check_gather_scatter): Fail
for reverse storage order accesses rather than asserting
they cannot happen here.

* gnat.dg/sso9.adb: New testcase.
* gnat.dg/sso9_pkg.ads: Likewise.

From-SVN: r262007
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/sso9.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/sso9_pkg.ads [new file with mode: 0644]
gcc/tree-vect-data-refs.c