2018-11-02 Richard Biener <rguenther@suse.de>
commit9b7b9b8d05996c236a33cf20661e16c7d7acd1c0
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Nov 2018 07:53:48 +0000 (2 07:53 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Nov 2018 07:53:48 +0000 (2 07:53 +0000)
tree2384b50867f156152ef0f51167685a89c110bae5
parent0b47d0381cb77235298b48ee4d8c0a451f5cfc8a
2018-11-02  Richard Biener  <rguenther@suse.de>

PR tree-optimization/87776
* tree-ssa-sccvn.c (do_rpo_vn): Do not mark backedges
executable when iterating but running into rpo-vn-max-loop-depth
and not eliding the iteration.

* gcc.dg/torture/pr87776.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@265739 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr87776.c [new file with mode: 0644]
gcc/tree-ssa-sccvn.c