Record and restore postorder information in breaking alias sccs.
authorBin Cheng <bin.cheng@linux.alibaba.com>
Sat, 20 Jun 2020 07:42:12 +0000 (15:42 +0800)
committerBin Cheng <bin.cheng@linux.alibaba.com>
Sat, 20 Jun 2020 07:42:12 +0000 (15:42 +0800)
commit2c0069fafb53ccb7a45a6815025dfcbd2882a36e
tree774ce084e4cba18c67ba523b91a6242b4f2ff6f3
parente37658dffdb5d4707e316180a0d5d5caee843744
Record and restore postorder information in breaking alias sccs.

gcc/
PR tree-optimization/95638
* tree-loop-distribution.c (pg_edge_callback_data): New field.
(loop_distribution::break_alias_scc_partitions): Record and restore
postorder information.  Fix memory leak.

gcc/testsuite/
PR tree-optimization/95638
* g++.dg/tree-ssa/pr95638.C: New test.
gcc/testsuite/g++.dg/tree-ssa/pr95638.C [new file with mode: 0644]
gcc/tree-loop-distribution.c