diff options
author | Richard Biener <rguenther@suse.de> | 2015-03-13 08:47:14 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2015-03-13 08:47:14 +0000 |
commit | 2a5671ee800de5ace6b9d78cd47de73a04d92fa8 (patch) | |
tree | b652e843afc3a6d9186d29d95bbeae5f778cee40 /symlink-tree | |
parent | 10ac6596183f0ffa298688791bac6a232f351214 (diff) | |
download | gcc-2a5671ee800de5ace6b9d78cd47de73a04d92fa8.zip gcc-2a5671ee800de5ace6b9d78cd47de73a04d92fa8.tar.gz gcc-2a5671ee800de5ace6b9d78cd47de73a04d92fa8.tar.bz2 |
re PR ipa/44563 (GCC uses a lot of RAM when compiling a large numbers of functions)
2015-03-10 Richard Biener <rguenther@suse.de>
PR middle-end/44563
* tree-cfgcleanup.c (split_bb_on_noreturn_calls): Remove.
(cleanup_tree_cfg_1): Do not call it.
(execute_cleanup_cfg_post_optimizing): Fixup the CFG here.
(fixup_noreturn_call): Mark the stmt as control altering.
* tree-cfg.c (execute_fixup_cfg): Do not dump the function
here.
(pass_data_fixup_cfg): Produce a dump file.
* tree-ssa-dom.c: Include tree-cfgcleanup.h.
(need_noreturn_fixup): New global.
(pass_dominator::execute): Fixup queued noreturn calls.
(optimize_stmt): Queue calls that became noreturn for fixup.
* tree-ssa-forwprop.c (pass_forwprop::execute): Likewise.
* tree-ssa-pre.c: Include tree-cfgcleanup.h.
(el_to_fixup): New global.
(eliminate_dom_walker::before_dom_childre): Queue calls that
became noreturn for fixup.
(eliminate): Fixup queued noreturn calls.
* tree-ssa-propagate.c: Include tree-cfgcleanup.h.
(substitute_and_fold_dom_walker): New member stmts_to_fixup.
(substitute_and_fold_dom_walker::before_dom_children): Queue
alls that became noreturn for fixup.
(substitute_and_fold): Fixup queued noreturn calls.
From-SVN: r221409
Diffstat (limited to 'symlink-tree')
0 files changed, 0 insertions, 0 deletions