OSDN Git Service

2012-05-22 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 May 2012 10:46:21 +0000 (10:46 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 May 2012 10:46:21 +0000 (10:46 +0000)
commit27e0ea127600d8ad8c42079fb340ec09064d4bb4
tree651f3cc71f6c6a66525d133b3a6d310eff9f9672
parentb7f1433a0248266ac82fcc2933e47f2a7a4cee04
2012-05-22  Richard Guenther  <rguenther@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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187770 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr53408.c [new file with mode: 0644]
gcc/tree-vect-loop.c