http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46723
--- Comment #10 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-12-02 16:23:26 UTC --- Author: rguenth Date: Thu Dec 2 16:23:20 2010 New Revision: 167377 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167377 Log: 2010-12-02 Richard Guenther <rguent...@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. Added: trunk/gcc/testsuite/gcc.dg/torture/pr46723.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c trunk/gcc/tree-vect-stmts.c