https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69347
--- Comment #14 from Jeffrey A. Law <law at gcc dot gnu.org> --- Author: law Date: Thu Jan 21 22:21:55 2016 New Revision: 232711 URL: https://gcc.gnu.org/viewcvs?rev=232711&root=gcc&view=rev Log: [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. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-ssa-dom.c trunk/gcc/tree-ssa-threadbackward.c