re PR tree-optimization/89789 (Compile time hog during RPO VN)
authorRichard Biener <rguenther@suse.de>
Mon, 25 Mar 2019 13:53:50 +0000 (13:53 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 25 Mar 2019 13:53:50 +0000 (13:53 +0000)
commit8d6419db2cd99949022cd76cf6b1d0f93be0394b
tree3cd097e459f74ad756f2e348123284a774b9b32f
parentbe5ce04a6135e0aee4187ec1a1f167f403e0f856
re PR tree-optimization/89789 (Compile time hog during RPO VN)

2019-03-25  Richard Biener  <rguenther@suse.de>

PR tree-optimization/89789
* tree-ssa-sccvn.c (set_ssa_val_to): Do not allow lattice
changes from non-undefined back to undefined.

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

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