re PR tree-optimization/81455 (Compile-time hog w/ -O1 -funswitch-loops)
authorRichard Biener <rguenther@suse.de>
Tue, 25 Jul 2017 13:24:51 +0000 (13:24 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 25 Jul 2017 13:24:51 +0000 (13:24 +0000)
commit1aa54f90e68dc927e80e14c7e4bf9b42525e3c76
tree2b8bb2985d182e0067a33a9d5b70c12080b8464d
parente294f495894cd2d9e217565e340284b2edda4671
re PR tree-optimization/81455 (Compile-time hog w/ -O1 -funswitch-loops)

2017-07-25  Richard Biener  <rguenther@suse.de>

PR tree-optimization/81455
* tree-ssa-loop-unswitch.c (find_loop_guard): Make sure to
not walk in cycles when looking for guards.

* gcc.dg/pr81455.c: New testcase.

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