re PR tree-optimization/57993 (ICE: verify_ssa failed (definition in block n does...
authorBill Schmidt <wschmidt@vnet.linux.ibm.com>
Tue, 30 Jul 2013 01:01:35 +0000 (01:01 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Tue, 30 Jul 2013 01:01:35 +0000 (01:01 +0000)
commit0100cd3f7e52acbf862e6c46e5d56c348fffb88c
treef48cb915a6aab755ebca183f4cd81b4740452ff7
parentac60ce1da65d0558fb5ae39bc3f1d1f8a39adf4c
re PR tree-optimization/57993 (ICE: verify_ssa failed (definition in block n does not dominate use in block m))

gcc:

2013-07-29  Bill Schmidt  <wschmidt@vnet.linux.ibm.com>

PR tree-optimization/57993
* gimple-ssa-strength-reduction.c (replace_mult_candidate): Record
replaced statement in the candidate table.
(phi_add_costs): Return infinite cost when the hidden basis does
not dominate all phis on which the candidate is dependent.
(replace_one_candidate): Record replaced statement in the
candidate table.

gcc/testsuite:

2013-07-29  Bill Schmidt  <wschmidt@vnet.linux.ibm.com>

PR tree-optimization/57993
* gcc.dg/torture/pr57993.c: New test.

From-SVN: r201325
gcc/ChangeLog
gcc/gimple-ssa-strength-reduction.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr57993.c [new file with mode: 0644]