http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53408
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-22 10:46:25 UTC --- Author: rguenth Date: Tue May 22 10:46:21 2012 New Revision: 187770 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187770 Log: 2012-05-22 Richard Guenther <rguent...@suse.de> PR tree-optimization/53408 * tree-vect-loop.c (vectorizable_induction): Properly check the restriction that we cannot handle induction results from the inner loop outside of the outer loop. * gcc.dg/torture/pr53408.c: New testcase. Added: branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/torture/pr53408.c Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/testsuite/ChangeLog branches/gcc-4_7-branch/gcc/tree-vect-loop.c