* tree-ssa-threadbackward.c: Include tree-inline.h
commite82720956688455f69e90dad8dc861e8b00c3a51
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 7 Aug 2016 10:50:16 +0000 (7 10:50 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 7 Aug 2016 10:50:16 +0000 (7 10:50 +0000)
treeb29e66caf101d11bc66ce183e3614bd567fca32d
parentf5d2c4620d5a19a6b57e8ac9d2d4fdb0d3521322
* tree-ssa-threadbackward.c: Include tree-inline.h
(profitable_jump_thread_path): Use estimate_num_insns to estimate
size of copied block; for cold paths reduce duplication.
(find_jump_threads_backwards): Remove redundant tests.
(pass_thread_jumps::gate): Enable for -Os.
* gcc.dg/tree-ssa/ssa-dom-thread-7.c: Update testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239219 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-7.c
gcc/tree-ssa-threadbackward.c