diff options
author | Jan Hubicka <jh@suse.cz> | 2011-06-23 18:45:08 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2011-06-23 16:45:08 +0000 |
commit | febb13025bec2b2a50c21e23e5b955cc31027c9d (patch) | |
tree | bc119ccc3a2b2d6675fc6bbabd3fb8cff5b454d4 /gcc/tree-pass.h | |
parent | 4c77620d6dedebfb9f5092de3da0c9870587a734 (diff) | |
download | gcc-febb13025bec2b2a50c21e23e5b955cc31027c9d.zip gcc-febb13025bec2b2a50c21e23e5b955cc31027c9d.tar.gz gcc-febb13025bec2b2a50c21e23e5b955cc31027c9d.tar.bz2 |
re PR middle-end/49373 (Many testcase failures)
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.
From-SVN: r175336
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 f3a03b0..a17ef35 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. */ |