gimple-ssa-strength-reduction.c (replace_mult_candidate): Update candidate table...
commitbb0d2039bae9105b7afe749c923b2c60c579bbb9
authorBill Schmidt <wschmidt@vnet.linux.ibm.com>
Sat, 3 Aug 2013 14:37:26 +0000 (3 14:37 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Sat, 3 Aug 2013 14:37:26 +0000 (3 14:37 +0000)
treed1382f2adf3cc916dda4fb158217884119cd7e75
parent399eeef9786cb661aa86981ee9e7a9f3dec373d6
gimple-ssa-strength-reduction.c (replace_mult_candidate): Update candidate table when replacing a candidate statement.

gcc:

2013-08-03  Bill Schmidt  <wschmidt@vnet.linux.ibm.com>

* gimple-ssa-strength-reduction.c (replace_mult_candidate): Update
candidate table when replacing a candidate statement.
(replace_rhs_if_not_dup): Likewise.
(replace_one_candidate): Likewise.

gcc/testsuite:

2013-08-03  Bill Schmidt  <wschmidt@vnet.linux.ibm.com>

* gcc.dg/torture/pr57993-2.cpp: New.

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