re PR tree-optimization/19049 (not vectorizing a fortran loop)
authorRichard Biener <rguenther@suse.de>
Thu, 22 Oct 2015 13:33:17 +0000 (13:33 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 22 Oct 2015 13:33:17 +0000 (13:33 +0000)
commit90a7a1b5b2c551158ccddbaad17d8b8021faa409
tree9497622ff89651a2f4410c37930e350445df53bf
parenta51ca2f4959300090a44a57010d4866e04b1b1e5
re PR tree-optimization/19049 (not vectorizing a fortran loop)

2015-10-22  Richard Biener  <rguenther@suse.de>

PR tree-optimization/19049
PR tree-optimization/65962
* tree-vect-data-refs.c (vect_analyze_group_access_1): Fall back
to strided accesses if single-element interleaving doesn't work.

* gcc.dg/vect/vect-strided-store-pr65962.c: New testcase.
* gcc.dg/vect/vect-63.c: Adjust.
* gcc.dg/vect/vect-70.c: Likewise.
* gcc.dg/vect/vect-strided-u8-i2-gap.c: Likewise.
* gcc.dg/vect/vect-strided-a-u8-i2-gap.c: Likewise.
* gfortran.dg/vect/pr19049.f90: Likewise.
* gfortran.dg/vect/vect-8.f90: Likewise.

From-SVN: r229172
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect-63.c
gcc/testsuite/gcc.dg/vect/vect-70.c
gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i2-gap.c
gcc/testsuite/gcc.dg/vect/vect-strided-u8-i2-gap.c
gcc/testsuite/gfortran.dg/vect/pr19049.f90
gcc/testsuite/gfortran.dg/vect/vect-8.f90
gcc/tree-vect-data-refs.c