tree-ssa-threadbackward.c: Include tree-inline.h
authorJan Hubicka <hubicka@ucw.cz>
Sun, 7 Aug 2016 10:50:16 +0000 (12:50 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 7 Aug 2016 10:50:16 +0000 (10:50 +0000)
commit27bddc4ace7dceda22968f2d89c537cb8a306302
treeb29e66caf101d11bc66ce183e3614bd567fca32d
parent4a9f8a9f7c5a75c266bba5be0c08071d18ed23c6
tree-ssa-threadbackward.c: Include tree-inline.h

* 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.

From-SVN: r239219
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-7.c
gcc/tree-ssa-threadbackward.c