re PR tree-optimization/47890 (internal compiler error: in vect_get_vec_def_for_stmt_...
authorRichard Guenther <rguenther@suse.de>
Tue, 1 Mar 2011 13:18:25 +0000 (13:18 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 1 Mar 2011 13:18:25 +0000 (13:18 +0000)
commitf2ca11ca979bebcee53d00eb0ac712289d6e3e3e
tree697d1e535aed98c5072e627d3220ef8acb308f1e
parent7a00d9eaf66d34d3e26938e890a4fb880df531f4
re PR tree-optimization/47890 (internal compiler error: in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1186)

2011-03-01  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/47890
* tree-vect-loop.c (get_initial_def_for_induction): Set
related stmt properly.

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

From-SVN: r170593
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr47890.c [new file with mode: 0644]
gcc/tree-vect-loop.c