diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-23 16:45:08 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-23 16:45:08 +0000 |
commit | 657e3a565eb019eda3113fb2da9b495d1c47361e (patch) | |
tree | bc119ccc3a2b2d6675fc6bbabd3fb8cff5b454d4 /gcc/tree-pass.h | |
parent | 6a2fc14eb132a2a4e1ac2849dd34152ec494ce9e (diff) | |
download | gcc-657e3a565eb019eda3113fb2da9b495d1c47361e.tar.gz |
PR tree-optimize/49373
* tree-pass.h (all_late_ipa_passes): Declare.
* cgraphunit.c (init_lowered_empty_function): Fix properties.
(cgraph_optimize): Execute late passes; remove unreachable funcions after
materialization.
* ipa-inline.c (gate_ipa_inline): Enable only when optimizing or LTOing.
* passes.c (all_late_ipa_passes): Declare.
(dump_passes, register_pass): Handle late ipa passes.
(init_optimization_passes): Move ipa_pta to late passes; schedule fixup_cfg
at beggining of all_passes.
(apply_ipa_transforms): New function.
(execute_one_pass): When doing simple ipa pass, apply all transforms.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175336 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r-- | gcc/tree-pass.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h index f3a03b07127..a17ef358142 100644 --- a/gcc/tree-pass.h +++ b/gcc/tree-pass.h @@ -577,7 +577,7 @@ extern struct gimple_opt_pass pass_convert_switch; /* The root of the compilation pass tree, once constructed. */ extern struct opt_pass *all_passes, *all_small_ipa_passes, *all_lowering_passes, - *all_regular_ipa_passes, *all_lto_gen_passes; + *all_regular_ipa_passes, *all_lto_gen_passes, *all_late_ipa_passes; /* Define a list of pass lists so that both passes.c and plugins can easily find all the pass lists. */ |