PR tree-optimization/67909, 67947
authorYuri Rumyantsev <ysrumyan@gmail.com>
Tue, 13 Oct 2015 13:08:31 +0000 (13:08 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Tue, 13 Oct 2015 13:08:31 +0000 (13:08 +0000)
commit8a18fcf4aa1d5c69d93d02ba3b4820ac03851cb2
tree3a3fb504ba5df97bcda16929a164ffb73bef27ed
parent92a1d1e1d0a9c07c4ff2c9974f90ed1baee15f27
PR tree-optimization/67909, 67947

gcc/

2014-10-13  Yuri Rumyantsev  <ysrumyan@gmail.com>

PR tree-optimization/67909, 67947
* tree-ssa-loop-unswitch.c (find_loop_guard): Add check that GUARD_EDGE
really skip the inner loop.

gcc/testsuite/

2014-10-13  Yuri Rumyantsev  <ysrumyan@gmail.com>

PR tree-optimization/67909, 67947
* gcc.dg/torture/pr67947.c: New test.

From-SVN: r228760
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr67947.c [new file with mode: 0644]
gcc/tree-ssa-loop-unswitch.c