OSDN Git Service

2010-12-02 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Dec 2010 16:23:20 +0000 (16:23 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Dec 2010 16:23:20 +0000 (16:23 +0000)
commit0185abae1d7274f87137b388a54a1bd7b8c77889
tree9731011d784b5a20bbfc11e4a58be14bb690acd5
parent33fb6a59d3daa98dc701897b1946516427c6ae06
2010-12-02  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/46723
* tree-vect-loop.c (get_initial_def_for_induction): Strip
conversions from the induction evolution and apply it to
the result instead.
* tree-vect-stmts.c (vect_get_vec_def_for_operand): Handle
assigns for induction defs.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167377 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr46723.c [new file with mode: 0644]
gcc/tree-vect-loop.c
gcc/tree-vect-stmts.c