2012-06-05 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Jun 2012 12:38:26 +0000 (12:38 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Jun 2012 12:38:26 +0000 (12:38 +0000)
commitec84182df8bc80357c4f8e3907374b4f8c597088
tree844d765cdd7406bfd07a3536ee202883a99d0759
parente5edce8469d23b78f00c53969d10b0fd8471144c
2012-06-05  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/30442
* tree-vect-data-refs.c (vect_analyze_data_refs): For basic-block
vectorization stop analysis at the first stmt we cannot compute
a data-reference for instead of giving up completely.

* gcc.dg/vect/bb-slp-30.c: New testcase.

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