re PR tree-optimization/87776 (Compile time hog during RPO VN)
authorRichard Biener <rguenther@suse.de>
Fri, 2 Nov 2018 07:53:48 +0000 (07:53 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 2 Nov 2018 07:53:48 +0000 (07:53 +0000)
commita412de98913cab0f80cfb023da8138fc5297c1e3
tree2384b50867f156152ef0f51167685a89c110bae5
parentb413c2421519779cd473d61b5fbeac127356ccb3
re PR tree-optimization/87776 (Compile time hog during RPO VN)

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.

From-SVN: r265739
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr87776.c [new file with mode: 0644]
gcc/tree-ssa-sccvn.c