re PR tree-optimization/68306 (ICE: in vectorizable_store, at tree-vect-stmts.c:5651)
authorRichard Biener <rguenther@suse.de>
Fri, 13 Nov 2015 12:14:57 +0000 (12:14 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 13 Nov 2015 12:14:57 +0000 (12:14 +0000)
commit52eab3788dee949b86a46839508b60f54e4329b8
tree2a8632f5ed7d10cd5639e2b4da871bb2d57889e2
parente4af0bc4650f371dc553bccd03d5dfe2704bc660
re PR tree-optimization/68306 (ICE: in vectorizable_store, at tree-vect-stmts.c:5651)

2015-11-13  Richard Biener  <rguenther@suse.de>

PR tree-optimization/68306
* tree-vect-data-refs.c (verify_data_ref_alignment): Move
loop related checks ...
(vect_verify_datarefs_alignment): ... here.
(vect_slp_analyze_and_verify_node_alignment): Compute and
verify alignment of the single DR that it matters.
* tree-vect-stmts.c (vectorizable_store): Add an assert.
(vectorizable_load): Add a comment.
* tree-vect-slp.c (vect_analyze_slp_cost_1): Fix DR used
for determining load cost.

* gcc.dg/pr68306.c: Adjust.
* gcc.dg/pr68306-2.c: New testcase.
* gcc.dg/pr68306-3.c: Likewise.

From-SVN: r230310
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr68306-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr68306-3.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr68306.c
gcc/tree-vect-data-refs.c
gcc/tree-vect-slp.c
gcc/tree-vect-stmts.c