re PR tree-optimization/82726 (ICE in verify_ssa during GIMPLE pass: pcom)
authorBin Cheng <bin.cheng@arm.com>
Wed, 15 Nov 2017 16:16:49 +0000 (16:16 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Wed, 15 Nov 2017 16:16:49 +0000 (16:16 +0000)
commit1ad3d8aa05a6668ddfa70fe5118626413d5087ba
treea9808ca5cd5b47ade2392e27afa99a69d1f0ecb7
parent1ad9b03f1b21cd3c661495e6cd7f591c507d1e7c
re PR tree-optimization/82726 (ICE in verify_ssa during GIMPLE pass: pcom)

PR tree-optimization/82726
Revert
2017-01-23  Bin Cheng  <bin.cheng@arm.com>

PR tree-optimization/70754
* tree-predcom.c (stmt_combining_refs): New parameter INSERT_BEFORE.
(reassociate_to_the_same_stmt): New parameter INSERT_BEFORE.  Insert
combined stmt before it if not NULL.
(combine_chains): Process refs reversely and compute dominance point
for root ref.

Revert
2017-02-23  Bin Cheng  <bin.cheng@arm.com>

PR tree-optimization/79663
* tree-predcom.c (combine_chains): Process refs in reverse order
only for ZERO length chains, and add explaining comment.

From-SVN: r254777
gcc/ChangeLog
gcc/tree-predcom.c