[PATCH] [PR tree-optimization/69347] Fix memory consumption in threader & minor speed...
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Jan 2016 22:21:55 +0000 (22:21 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Jan 2016 22:21:55 +0000 (22:21 +0000)
commit03a3af75ea36b39ad757b372e4e3d4e3ce55a85f
treee838fb5644b281dd414a57e44417ba4aa89d2677
parentd1565a0326394579919a013ca84b47032f7810ce
[PATCH] [PR tree-optimization/69347] Fix memory consumption in threader & minor speed improvement

PR middle-end/69347
* tree-ssa-dom.c (dom_opt_dom_walker::thread_across_edge): Avoid
useless call to record_temporary_equivalences.
* tree-ssa-threadbackward.c (find_jump_threads_backwards): Just
allocate 10 slots in the bb_path vector and let it grow as needed.
(fsm_find_control_statement_thread_paths): Similarly for the next_path
vector.

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