re PR tree-optimization/69196 (code size regression with jump threading at -O2)
authorJeff Law <law@redhat.com>
Tue, 1 Mar 2016 21:46:58 +0000 (14:46 -0700)
committerJeff Law <law@gcc.gnu.org>
Tue, 1 Mar 2016 21:46:58 +0000 (14:46 -0700)
commit2a9afc868088221a4edd54e79d1388ab25f7f2fa
tree7e1d32b69687a2bfcffd1e2fd057ba3e812d1297
parent0d39977e3486bdd4d35913b7ce7e293e2f2e8cc2
re PR tree-optimization/69196 (code size regression with jump threading at -O2)

PR tree-optimization/69196
* tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
Do count some PHIs in the thread path against the insn count.  Decrease
final statement count by one as the control statement in the last
block will get removed.  Remove special cased code for handling PHIs in the last block.

PR tree-optimization/69196
* gcc.dg/tree-ssa/vrp46.c: Twiddle threading params to keep it from
duplicating code and spoiling the expected output.

From-SVN: r233866
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/vrp46.c
gcc/tree-ssa-threadbackward.c