diff options
author | David Li <davidxl@google.com> | 2011-06-14 19:39:36 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@gcc.gnu.org> | 2011-06-14 19:39:36 +0000 |
commit | 22c5fa5fbfd9634c3389f845e77ddf8e6ea32f7b (patch) | |
tree | 6784ca7456219fc5f0b50b07b3f96641c6cc9e9c | |
parent | 5d64566169bbc5442121388e4849624b5aa640a1 (diff) | |
download | gcc-22c5fa5fbfd9634c3389f845e77ddf8e6ea32f7b.zip gcc-22c5fa5fbfd9634c3389f845e77ddf8e6ea32f7b.tar.gz gcc-22c5fa5fbfd9634c3389f845e77ddf8e6ea32f7b.tar.bz2 |
dumping cleanup phase 1 -- Removing TODO_dump_func
From-SVN: r175051
93 files changed, 252 insertions, 233 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6ee8030..b293ce4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,100 @@ +2011-06-14 David Li <davidxl@google.com> + + * passes.c (execute_function_todo): Remove TODO_dump_func. + (execute_one_pass): Remove TODO_dump_func. + (execute_function_dump): New function. + * tree-vrp.c: Remove TODO_dump_func. + * regrename.c: Remove TODO_dump_func. + * fwprop.c: Remove TODO_dump_func. + * tree-into-ssa.c: Remove TODO_dump_func. + * tree-complex.c: Remove TODO_dump_func. + * tracer.c: Remove TODO_dump_func. + * tree-loop-distribution.c: Remove TODO_dump_func. + * postreload-gcse.c: Remove TODO_dump_func. + * postreload.c: Remove TODO_dump_func. + * tree-ssa-loop-ch.c: Remove TODO_dump_func. + * tree-tailcall.c: Remove TODO_dump_func. + * ipa-cp.c: Remove TODO_dump_func. + * final.c: Remove TODO_dump_func. + * tree-emutls.c: Remove TODO_dump_func. + * omp-low.c: Remove TODO_dump_func. + * tree-ssa-dse.c: Remove TODO_dump_func. + * tree-ssa-uncprop.c: Remove TODO_dump_func. + * auto-inc-dec.c: Remove TODO_dump_func. + * reorg.c: Remove TODO_dump_func. + * tree-ssa-copyrename.c: Remove TODO_dump_func. + * tree-ssa-ccp.c: Remove TODO_dump_func. + * compare-elim.c: Remove TODO_dump_func. + * mode-switching.c: Remove TODO_dump_func. + * modulo-sched.c: Remove TODO_dump_func. + * tree-call-cdce.c: Remove TODO_dump_func. + * cse.c: Remove TODO_dump_func. + * web.c: Remove TODO_dump_func. + * tree-stdarg.c: Remove TODO_dump_func. + * lto-streamer-out.c: Remove TODO_dump_func. + * tree-ssa-math-opts.c: Remove TODO_dump_func. + * tree-ssa-dom.c: Remove TODO_dump_func. + * tree-nrv.c: Remove TODO_dump_func. + * loop-init.c: Remove TODO_dump_func. + * gimple-low.c: Remove TODO_dump_func. + * ipa-inline.c: Remove TODO_dump_func. + * tree-ssa-sink.c: Remove TODO_dump_func. + * jump.c: Remove TODO_dump_func. + * ifcvt.c: Remove TODO_dump_func. + * tree-ssa-loop.c: Remove TODO_dump_func. + * recog.c: Remove TODO_dump_func. + * dse.c: Remove TODO_dump_func. + * tree-ssa-ifcombine.c: Remove TODO_dump_func. + * matrix-reorg.c: Remove TODO_dump_func. + * tree-eh.c: Remove TODO_dump_func. + * regmove.c: Remove TODO_dump_func. + * function.c: Remove TODO_dump_func. + * tree-vectorizer.c: Remove TODO_dump_func. + * ipa-split.c: Remove TODO_dump_func. + * gcse.c: Remove TODO_dump_func. + * tree-if-conv.c: Remove TODO_dump_func. + * init-regs.c: Remove TODO_dump_func. + * tree-ssa-phiopt.c: Remove TODO_dump_func. + * implicit-zee.c: Remove TODO_dump_func. + * lower-subreg.c: Remove TODO_dump_func. + * bt-load.c: Remove TODO_dump_func. + * tree-dfa.c: Remove TODO_dump_func. + * except.c: Remove TODO_dump_func. + * emit-rtl.c: Remove TODO_dump_func. + * store-motion.c: Remove TODO_dump_func. + * cfgexpand.c: Remove TODO_dump_func. + * tree-cfgcleanup.c: Remove TODO_dump_func. + * cfgcleanup.c: Remove TODO_dump_func. + * tree-ssa-pre.c: Remove TODO_dump_func. + * tree-sra.c: Remove TODO_dump_func. + * tree-mudflap.c: Remove TODO_dump_func. + * tree-ssa-copy.c: Remove TODO_dump_func. + * cfglayout.c: Remove TODO_dump_func. + * tree-ssa-forwprop.c: Remove TODO_dump_func. + * tree-ssa-dce.c: Remove TODO_dump_func. + * ira.c: Remove TODO_dump_func. + * tree-ssa.c: Remove TODO_dump_func. + * integrate.c: Remove TODO_dump_func. + * tree-optimize.c: Remove TODO_dump_func. + * tree-ssa-phiprop.c: Remove TODO_dump_func. + * tree-object-size.c: Remove TODO_dump_func. + * combine.c: Remove TODO_dump_func. + * bb-reorder.c: Remove TODO_dump_func. + * cprop.c: Remove TODO_dump_func. + * var-tracking.c: Remove TODO_dump_func. + * tree-profile.c: Remove TODO_dump_func. + * tree-vect-generic.c: Remove TODO_dump_func. + * reg-stack.c: Remove TODO_dump_func. + * sched-rgn.c: Remove TODO_dump_func. + * tree-ssa-structalias.c: Remove TODO_dump_func. + * tree-switch-conversion.c: Remove TODO_dump_func. + * tree-cfg.c: Remove TODO_dump_func. + * tree-ssa-reassoc.c: Remove TODO_dump_func. + * combine-stack-adj.c: Remove TODO_dump_func. + * dce.c: Remove TODO_dump_func. + * tree-ssanames.c: Remove TODO_dump_func. + * regcprop.c: Remove TODO_dump_func. + 2011-06-14 H.J. Lu <hongjiu.lu@intel.com> PR middle-end/47364 diff --git a/gcc/auto-inc-dec.c b/gcc/auto-inc-dec.c index cb90542..dbd12e7 100644 --- a/gcc/auto-inc-dec.c +++ b/gcc/auto-inc-dec.c @@ -1523,7 +1523,6 @@ struct rtl_opt_pass pass_inc_dec = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_df_finish, /* todo_flags_finish */ } }; diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c index e499614..6d2aedb 100644 --- a/gcc/bb-reorder.c +++ b/gcc/bb-reorder.c @@ -2117,7 +2117,7 @@ struct rtl_opt_pass pass_duplicate_computed_gotos = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_rtl_sharing,/* todo_flags_finish */ + TODO_verify_rtl_sharing,/* todo_flags_finish */ } }; @@ -2260,7 +2260,7 @@ struct rtl_opt_pass pass_reorder_blocks = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_rtl_sharing,/* todo_flags_finish */ + TODO_verify_rtl_sharing, /* todo_flags_finish */ } }; @@ -2300,6 +2300,6 @@ struct rtl_opt_pass pass_partition_blocks = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_rtl_sharing/* todo_flags_finish */ + TODO_verify_rtl_sharing /* todo_flags_finish */ } }; diff --git a/gcc/bt-load.c b/gcc/bt-load.c index d8063d2..d8aab56 100644 --- a/gcc/bt-load.c +++ b/gcc/bt-load.c @@ -1519,7 +1519,6 @@ struct rtl_opt_pass pass_branch_target_load_optimize1 = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_rtl_sharing | TODO_ggc_collect, /* todo_flags_finish */ } @@ -1569,7 +1568,6 @@ struct rtl_opt_pass pass_branch_target_load_optimize2 = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_ggc_collect, /* todo_flags_finish */ } }; diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c index c36af89..f51e57f 100644 --- a/gcc/cfgcleanup.c +++ b/gcc/cfgcleanup.c @@ -2989,8 +2989,6 @@ struct rtl_opt_pass pass_jump2 = 0, /* properties_provided */ 0, /* properties_destroyed */ TODO_ggc_collect, /* todo_flags_start */ - TODO_dump_func | TODO_verify_rtl_sharing,/* todo_flags_finish */ + TODO_verify_rtl_sharing, /* todo_flags_finish */ } }; - - diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index 491c2fc..efd3ed9 100644 --- a/gcc/cfgexpand.c +++ b/gcc/cfgexpand.c @@ -4273,7 +4273,6 @@ struct rtl_opt_pass pass_expand = PROP_ssa | PROP_trees, /* properties_destroyed */ TODO_verify_ssa | TODO_verify_flow | TODO_verify_stmts, /* todo_flags_start */ - TODO_dump_func - | TODO_ggc_collect /* todo_flags_finish */ + TODO_ggc_collect /* todo_flags_finish */ } }; diff --git a/gcc/cfglayout.c b/gcc/cfglayout.c index 548e21f..02709d0 100644 --- a/gcc/cfglayout.c +++ b/gcc/cfglayout.c @@ -378,7 +378,7 @@ struct rtl_opt_pass pass_into_cfg_layout_mode = PROP_cfglayout, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func, /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; @@ -397,7 +397,7 @@ struct rtl_opt_pass pass_outof_cfg_layout_mode = 0, /* properties_provided */ PROP_cfglayout, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func, /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; diff --git a/gcc/combine-stack-adj.c b/gcc/combine-stack-adj.c index 76c175c..d267b70 100644 --- a/gcc/combine-stack-adj.c +++ b/gcc/combine-stack-adj.c @@ -584,7 +584,6 @@ struct rtl_opt_pass pass_stack_adjustments = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_df_finish | TODO_verify_rtl_sharing | - TODO_dump_func | TODO_ggc_collect, /* todo_flags_finish */ } }; diff --git a/gcc/combine.c b/gcc/combine.c index 5b68bab..56fb44e 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -13944,7 +13944,6 @@ struct rtl_opt_pass pass_combine = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_df_finish | TODO_verify_rtl_sharing | TODO_ggc_collect, /* todo_flags_finish */ } diff --git a/gcc/compare-elim.c b/gcc/compare-elim.c index c3eecfa..e5b2088 100644 --- a/gcc/compare-elim.c +++ b/gcc/compare-elim.c @@ -636,7 +636,6 @@ struct rtl_opt_pass pass_compare_elim_after_reload = TODO_df_finish | TODO_df_verify | TODO_verify_rtl_sharing - | TODO_dump_func | TODO_ggc_collect /* todo_flags_finish */ } }; diff --git a/gcc/cprop.c b/gcc/cprop.c index b7b17b1..83193b9 100644 --- a/gcc/cprop.c +++ b/gcc/cprop.c @@ -1878,8 +1878,6 @@ struct rtl_opt_pass pass_rtl_cprop = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_df_finish | TODO_verify_rtl_sharing | - TODO_dump_func | TODO_verify_flow | TODO_ggc_collect /* todo_flags_finish */ } }; - @@ -7424,7 +7424,6 @@ struct rtl_opt_pass pass_cse = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_df_finish | TODO_verify_rtl_sharing | - TODO_dump_func | TODO_ggc_collect | TODO_verify_flow, /* todo_flags_finish */ } @@ -7487,7 +7486,6 @@ struct rtl_opt_pass pass_cse2 = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_df_finish | TODO_verify_rtl_sharing | - TODO_dump_func | TODO_ggc_collect | TODO_verify_flow /* todo_flags_finish */ } @@ -7548,7 +7546,6 @@ struct rtl_opt_pass pass_cse_after_global_opts = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_df_finish | TODO_verify_rtl_sharing | - TODO_dump_func | TODO_ggc_collect | TODO_verify_flow /* todo_flags_finish */ } @@ -786,7 +786,6 @@ struct rtl_opt_pass pass_ud_rtl_dce = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_df_finish | TODO_verify_rtl_sharing | TODO_ggc_collect /* todo_flags_finish */ } @@ -1138,7 +1137,6 @@ struct rtl_opt_pass pass_fast_rtl_dce = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_df_finish | TODO_verify_rtl_sharing | TODO_ggc_collect /* todo_flags_finish */ } @@ -3853,7 +3853,6 @@ struct rtl_opt_pass pass_rtl_dse1 = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_df_finish | TODO_verify_rtl_sharing | TODO_ggc_collect /* todo_flags_finish */ } @@ -3874,7 +3873,6 @@ struct rtl_opt_pass pass_rtl_dse2 = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_df_finish | TODO_verify_rtl_sharing | TODO_ggc_collect /* todo_flags_finish */ } diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index f760a1b..f010ac6 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -2413,7 +2413,7 @@ struct rtl_opt_pass pass_unshare_all_rtl = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_rtl_sharing /* todo_flags_finish */ + TODO_verify_rtl_sharing /* todo_flags_finish */ } }; diff --git a/gcc/except.c b/gcc/except.c index 1e5c291..c13ab5f 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -1468,7 +1468,7 @@ struct rtl_opt_pass pass_rtl_eh = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; @@ -1910,7 +1910,7 @@ struct rtl_opt_pass pass_set_nothrow_function_flags = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func, /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; @@ -2665,7 +2665,7 @@ struct rtl_opt_pass pass_convert_to_eh_region_ranges = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func, /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; diff --git a/gcc/final.c b/gcc/final.c index 748042a..cb4a83d 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -837,7 +837,7 @@ struct rtl_opt_pass pass_compute_alignments = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_rtl_sharing + TODO_verify_rtl_sharing | TODO_ggc_collect /* todo_flags_finish */ } }; @@ -4337,7 +4337,7 @@ struct rtl_opt_pass pass_shorten_branches = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; diff --git a/gcc/function.c b/gcc/function.c index 30cc9ff..d524873 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -1955,7 +1955,7 @@ struct rtl_opt_pass pass_instantiate_virtual_regs = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; @@ -5949,7 +5949,6 @@ struct rtl_opt_pass pass_thread_prologue_and_epilogue = 0, /* properties_provided */ 0, /* properties_destroyed */ TODO_verify_flow, /* todo_flags_start */ - TODO_dump_func | TODO_df_verify | TODO_df_finish | TODO_verify_rtl_sharing | TODO_ggc_collect /* todo_flags_finish */ @@ -6151,7 +6150,7 @@ struct rtl_opt_pass pass_match_asm_constraints = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; diff --git a/gcc/fwprop.c b/gcc/fwprop.c index b2fd955..444a539 100644 --- a/gcc/fwprop.c +++ b/gcc/fwprop.c @@ -1473,8 +1473,7 @@ struct rtl_opt_pass pass_rtl_fwprop = 0, /* todo_flags_start */ TODO_df_finish | TODO_verify_flow - | TODO_verify_rtl_sharing - | TODO_dump_func /* todo_flags_finish */ + | TODO_verify_rtl_sharing /* todo_flags_finish */ } }; @@ -1521,7 +1520,6 @@ struct rtl_opt_pass pass_rtl_fwprop_addr = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_df_finish | TODO_verify_rtl_sharing | - TODO_dump_func /* todo_flags_finish */ + TODO_df_finish | TODO_verify_rtl_sharing /* todo_flags_finish */ } }; @@ -3772,7 +3772,6 @@ struct rtl_opt_pass pass_rtl_pre = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_df_finish | TODO_verify_rtl_sharing | - TODO_dump_func | TODO_verify_flow | TODO_ggc_collect /* todo_flags_finish */ } }; @@ -3793,10 +3792,8 @@ struct rtl_opt_pass pass_rtl_hoist = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_df_finish | TODO_verify_rtl_sharing | - TODO_dump_func | TODO_verify_flow | TODO_ggc_collect /* todo_flags_finish */ } }; #include "gt-gcse.h" - diff --git a/gcc/gimple-low.c b/gcc/gimple-low.c index 3afa0b2..5c05f84 100644 --- a/gcc/gimple-low.c +++ b/gcc/gimple-low.c @@ -203,7 +203,7 @@ struct gimple_opt_pass pass_lower_cf = PROP_gimple_lcf, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c index b34aee2..239f498 100644 --- a/gcc/ifcvt.c +++ b/gcc/ifcvt.c @@ -4368,7 +4368,7 @@ struct rtl_opt_pass pass_rtl_ifcvt = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_df_finish | TODO_verify_rtl_sharing | - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; @@ -4405,7 +4405,6 @@ struct rtl_opt_pass pass_if_after_combine = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_df_finish | TODO_verify_rtl_sharing | - TODO_dump_func | TODO_ggc_collect /* todo_flags_finish */ } }; @@ -4442,7 +4441,6 @@ struct rtl_opt_pass pass_if_after_reload = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_df_finish | TODO_verify_rtl_sharing | - TODO_dump_func | TODO_ggc_collect /* todo_flags_finish */ } }; diff --git a/gcc/implicit-zee.c b/gcc/implicit-zee.c index 2e4b58b..db42248 100644 --- a/gcc/implicit-zee.c +++ b/gcc/implicit-zee.c @@ -988,7 +988,6 @@ struct rtl_opt_pass pass_implicit_zee = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_ggc_collect | - TODO_dump_func | TODO_verify_rtl_sharing, /* todo_flags_finish */ } }; diff --git a/gcc/init-regs.c b/gcc/init-regs.c index b4dd5e9..594b6e6 100644 --- a/gcc/init-regs.c +++ b/gcc/init-regs.c @@ -153,7 +153,6 @@ struct rtl_opt_pass pass_initialize_regs = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_df_finish /* todo_flags_finish */ } }; diff --git a/gcc/integrate.c b/gcc/integrate.c index af103e5..3a79183 100644 --- a/gcc/integrate.c +++ b/gcc/integrate.c @@ -325,7 +325,7 @@ struct rtl_opt_pass pass_initial_value_sets = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c index e952955..a7fecf2 100644 --- a/gcc/ipa-cp.c +++ b/gcc/ipa-cp.c @@ -1583,7 +1583,7 @@ struct ipa_opt_pass_d pass_ipa_cp = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_cgraph | TODO_dump_func | + TODO_dump_cgraph | TODO_remove_functions | TODO_ggc_collect /* todo_flags_finish */ }, ipcp_generate_summary, /* generate_summary */ diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index c9328c9..ff1041b 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -1964,7 +1964,7 @@ struct gimple_opt_pass pass_early_inline = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; @@ -1998,7 +1998,7 @@ struct ipa_opt_pass_d pass_ipa_inline = 0, /* properties_provided */ 0, /* properties_destroyed */ TODO_remove_functions, /* todo_flags_finish */ - TODO_dump_cgraph | TODO_dump_func + TODO_dump_cgraph | TODO_remove_functions | TODO_ggc_collect /* todo_flags_finish */ }, inline_generate_summary, /* generate_summary */ diff --git a/gcc/ipa-split.c b/gcc/ipa-split.c index 2e67287..7413d81 100644 --- a/gcc/ipa-split.c +++ b/gcc/ipa-split.c @@ -1432,7 +1432,7 @@ struct gimple_opt_pass pass_split_functions = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; @@ -1473,6 +1473,6 @@ struct gimple_opt_pass pass_feedback_split_functions = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; @@ -3806,7 +3806,6 @@ struct rtl_opt_pass pass_ira = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_ggc_collect /* todo_flags_finish */ } }; @@ -156,7 +156,7 @@ struct rtl_opt_pass pass_cleanup_barriers = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; diff --git a/gcc/loop-init.c b/gcc/loop-init.c index bd4af30..9184a14 100644 --- a/gcc/loop-init.c +++ b/gcc/loop-init.c @@ -158,7 +158,6 @@ struct rtl_opt_pass pass_loop2 = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_ggc_collect /* todo_flags_finish */ } }; @@ -192,7 +191,7 @@ struct rtl_opt_pass pass_rtl_loop_init = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_rtl_sharing /* todo_flags_finish */ + TODO_verify_rtl_sharing /* todo_flags_finish */ } }; @@ -228,8 +227,7 @@ struct rtl_opt_pass pass_rtl_loop_done = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_verify_flow - | TODO_verify_rtl_sharing - | TODO_dump_func /* todo_flags_finish */ + | TODO_verify_rtl_sharing /* todo_flags_finish */ } }; @@ -265,8 +263,7 @@ struct rtl_opt_pass pass_rtl_move_loop_invariants = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_df_verify | - TODO_df_finish | TODO_verify_rtl_sharing | - TODO_dump_func /* todo_flags_finish */ + TODO_df_finish | TODO_verify_rtl_sharing /* todo_flags_finish */ } }; @@ -301,7 +298,7 @@ struct rtl_opt_pass pass_rtl_unswitch = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_rtl_sharing, /* todo_flags_finish */ + TODO_verify_rtl_sharing, /* todo_flags_finish */ } }; @@ -349,7 +346,7 @@ struct rtl_opt_pass pass_rtl_unroll_and_peel_loops = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_rtl_sharing, /* todo_flags_finish */ + TODO_verify_rtl_sharing, /* todo_flags_finish */ } }; @@ -390,7 +387,6 @@ struct rtl_opt_pass pass_rtl_doloop = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_rtl_sharing /* todo_flags_finish */ + TODO_verify_rtl_sharing /* todo_flags_finish */ } }; - diff --git a/gcc/lower-subreg.c b/gcc/lower-subreg.c index 2119c09..85aa298 100644 --- a/gcc/lower-subreg.c +++ b/gcc/lower-subreg.c @@ -1370,7 +1370,6 @@ struct rtl_opt_pass pass_lower_subreg = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_ggc_collect | TODO_verify_flow /* todo_flags_finish */ } @@ -1392,7 +1391,6 @@ struct rtl_opt_pass pass_lower_subreg2 = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_df_finish | TODO_verify_rtl_sharing | - TODO_dump_func | TODO_ggc_collect | TODO_verify_flow /* todo_flags_finish */ } diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c index 17042d5..a28e857 100644 --- a/gcc/lto-streamer-out.c +++ b/gcc/lto-streamer-out.c @@ -2302,7 +2302,7 @@ struct ipa_opt_pass_d pass_ipa_lto_gimple_out = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ }, NULL, /* generate_summary */ lto_output, /* write_summary */ diff --git a/gcc/matrix-reorg.c b/gcc/matrix-reorg.c index 6f75d33..dfc1896 100644 --- a/gcc/matrix-reorg.c +++ b/gcc/matrix-reorg.c @@ -2390,6 +2390,6 @@ struct simple_ipa_opt_pass pass_ipa_matrix_reorg = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_cgraph | TODO_dump_func /* todo_flags_finish */ + TODO_dump_cgraph /* todo_flags_finish */ } }; diff --git a/gcc/mode-switching.c b/gcc/mode-switching.c index d4c7b24..9b11842 100644 --- a/gcc/mode-switching.c +++ b/gcc/mode-switching.c @@ -772,6 +772,6 @@ struct rtl_opt_pass pass_mode_switching = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_df_finish | TODO_verify_rtl_sharing | - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; diff --git a/gcc/modulo-sched.c b/gcc/modulo-sched.c index 327c09a..6e284ac 100644 --- a/gcc/modulo-sched.c +++ b/gcc/modulo-sched.c @@ -2969,12 +2969,10 @@ struct rtl_opt_pass pass_sms = 0, /* properties_required */ 0, /* properties_provided */ 0, /* properties_destroyed */ - TODO_dump_func, /* todo_flags_start */ + 0, /* todo_flags_start */ TODO_df_finish | TODO_verify_flow | TODO_verify_rtl_sharing - | TODO_dump_func | TODO_ggc_collect /* todo_flags_finish */ } }; - diff --git a/gcc/omp-low.c b/gcc/omp-low.c index e4bf141b..99dedf9 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -5553,7 +5553,7 @@ struct gimple_opt_pass pass_expand_omp = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; @@ -6730,7 +6730,7 @@ struct gimple_opt_pass pass_lower_omp = PROP_gimple_lomp, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; diff --git a/gcc/passes.c b/gcc/passes.c index 0faef10..23963a0 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -1602,6 +1602,37 @@ do_per_function_toporder (void (*callback) (void *data), void *data) nnodes = 0; } +/* Helper function to perform function body dump. */ + +static void +execute_function_dump (void *data ATTRIBUTE_UNUSED) +{ + if (dump_file && current_function_decl) + { + if (cfun->curr_properties & PROP_trees) + dump_function_to_file (current_function_decl, dump_file, dump_flags); + else + { + if (dump_flags & TDF_SLIM) + print_rtl_slim_with_bb (dump_file, get_insns (), dump_flags); + else if ((cfun->curr_properties & PROP_cfg) + && (dump_flags & TDF_BLOCKS)) + print_rtl_with_bb (dump_file, get_insns ()); + else + print_rtl (dump_file, get_insns ()); + + if ((cfun->curr_properties & PROP_cfg) + && graph_dump_format != no_graph + && (dump_flags & TDF_GRAPH)) + print_rtl_graph_with_bb (dump_file_name, get_insns ()); + } + + /* Flush the file. If verification fails, we won't be able to + close the file before aborting. */ + fflush (dump_file); + } +} + /* Perform all TODO actions that ought to be done on each function. */ static void @@ -1648,31 +1679,6 @@ execute_function_todo (void *data) if (flags & TODO_remove_unused_locals) remove_unused_locals (); - if ((flags & TODO_dump_func) && dump_file && current_function_decl) - { - if (cfun->curr_properties & PROP_trees) - dump_function_to_file (current_function_decl, dump_file, dump_flags); - else - { - if (dump_flags & TDF_SLIM) - print_rtl_slim_with_bb (dump_file, get_insns (), dump_flags); - else if ((cfun->curr_properties & PROP_cfg) - && (dump_flags & TDF_BLOCKS)) - print_rtl_with_bb (dump_file, get_insns ()); - else - print_rtl (dump_file, get_insns ()); - - if ((cfun->curr_properties & PROP_cfg) - && graph_dump_format != no_graph - && (dump_flags & TDF_GRAPH)) - print_rtl_graph_with_bb (dump_file_name, get_insns ()); - } - - /* Flush the file. If verification fails, we won't be able to - close the file before aborting. */ - fflush (dump_file); - } - if (flags & TODO_rebuild_frequencies) rebuild_frequencies (); @@ -1898,6 +1904,7 @@ execute_one_ipa_transform_pass (struct cgraph_node *node, execute_todo (todo_after); verify_interpass_invariants (); + do_per_function (execute_function_dump, NULL); pass_fini_dump_file (pass); current_pass = NULL; @@ -2038,6 +2045,7 @@ execute_one_pass (struct opt_pass *pass) /* Run post-pass cleanup and verification. */ execute_todo (todo_after | pass->todo_flags_finish); verify_interpass_invariants (); + do_per_function (execute_function_dump, NULL); if (pass->type == IPA_PASS) { struct cgraph_node *node; diff --git a/gcc/postreload-gcse.c b/gcc/postreload-gcse.c index bc55ead..e05e445 100644 --- a/gcc/postreload-gcse.c +++ b/gcc/postreload-gcse.c @@ -1344,8 +1344,7 @@ struct rtl_opt_pass pass_gcse2 = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_rtl_sharing + TODO_verify_rtl_sharing | TODO_verify_flow | TODO_ggc_collect /* todo_flags_finish */ } }; - diff --git a/gcc/postreload.c b/gcc/postreload.c index 0f3e5c2..e5c6ce7 100644 --- a/gcc/postreload.c +++ b/gcc/postreload.c @@ -2287,6 +2287,6 @@ struct rtl_opt_pass pass_postreload_cse = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_df_finish | TODO_verify_rtl_sharing | - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; diff --git a/gcc/recog.c b/gcc/recog.c index afe985e..0c26c0d 100644 --- a/gcc/recog.c +++ b/gcc/recog.c @@ -3694,7 +3694,7 @@ struct rtl_opt_pass pass_peephole2 = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_df_finish | TODO_verify_rtl_sharing | - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; @@ -3720,7 +3720,7 @@ struct rtl_opt_pass pass_split_all_insns = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; @@ -3750,7 +3750,7 @@ struct rtl_opt_pass pass_split_after_reload = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; @@ -3794,7 +3794,7 @@ struct rtl_opt_pass pass_split_before_regstack = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; @@ -3832,8 +3832,7 @@ struct rtl_opt_pass pass_split_before_sched2 = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_verify_flow | - TODO_dump_func /* todo_flags_finish */ + TODO_verify_flow /* todo_flags_finish */ } }; @@ -3864,6 +3863,6 @@ struct rtl_opt_pass pass_split_for_shorten_branches = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_rtl_sharing /* todo_flags_finish */ + TODO_verify_rtl_sharing /* todo_flags_finish */ } }; diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index dcde892..896a68f 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -3352,7 +3352,6 @@ struct rtl_opt_pass pass_stack_regs_run = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_df_finish | TODO_verify_rtl_sharing | - TODO_dump_func | TODO_ggc_collect /* todo_flags_finish */ } }; diff --git a/gcc/regcprop.c b/gcc/regcprop.c index bf34115..911f59eb 100644 --- a/gcc/regcprop.c +++ b/gcc/regcprop.c @@ -1188,7 +1188,7 @@ struct rtl_opt_pass pass_cprop_hardreg = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_df_finish + TODO_df_finish | TODO_verify_rtl_sharing /* todo_flags_finish */ } }; diff --git a/gcc/regmove.c b/gcc/regmove.c index afa7ee7..89dbd59 100644 --- a/gcc/regmove.c +++ b/gcc/regmove.c @@ -1382,7 +1382,6 @@ struct rtl_opt_pass pass_regmove = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_df_finish | TODO_verify_rtl_sharing | - TODO_dump_func | TODO_ggc_collect /* todo_flags_finish */ } }; diff --git a/gcc/regrename.c b/gcc/regrename.c index c2292ef..77e23f8 100644 --- a/gcc/regrename.c +++ b/gcc/regrename.c @@ -1453,7 +1453,6 @@ struct rtl_opt_pass pass_regrename = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_df_finish | TODO_verify_rtl_sharing | - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; - diff --git a/gcc/reorg.c b/gcc/reorg.c index 443917d..28b6c7d 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -4086,7 +4086,6 @@ struct rtl_opt_pass pass_delay_slots = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_ggc_collect /* todo_flags_finish */ } }; @@ -4121,7 +4120,6 @@ struct rtl_opt_pass pass_machine_reorg = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_ggc_collect /* todo_flags_finish */ } }; diff --git a/gcc/sched-rgn.c b/gcc/sched-rgn.c index 248b870..e510980 100644 --- a/gcc/sched-rgn.c +++ b/gcc/sched-rgn.c @@ -3551,7 +3551,6 @@ struct rtl_opt_pass pass_sched = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_df_finish | TODO_verify_rtl_sharing | - TODO_dump_func | TODO_verify_flow | TODO_ggc_collect /* todo_flags_finish */ } @@ -3573,7 +3572,6 @@ struct rtl_opt_pass pass_sched2 = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_df_finish | TODO_verify_rtl_sharing | - TODO_dump_func | TODO_verify_flow | TODO_ggc_collect /* todo_flags_finish */ } diff --git a/gcc/store-motion.c b/gcc/store-motion.c index f6a021e..c8beb24 100644 --- a/gcc/store-motion.c +++ b/gcc/store-motion.c @@ -1258,8 +1258,6 @@ struct rtl_opt_pass pass_rtl_store_motion = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_df_finish | TODO_verify_rtl_sharing | - TODO_dump_func | TODO_verify_flow | TODO_ggc_collect /* todo_flags_finish */ } }; - diff --git a/gcc/tracer.c b/gcc/tracer.c index 918ed78..d3523b9 100644 --- a/gcc/tracer.c +++ b/gcc/tracer.c @@ -393,8 +393,7 @@ struct gimple_opt_pass pass_tracer = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func - | TODO_update_ssa + TODO_update_ssa | TODO_verify_ssa /* todo_flags_finish */ } }; diff --git a/gcc/tree-call-cdce.c b/gcc/tree-call-cdce.c index 25476e6..8307edb 100644 --- a/gcc/tree-call-cdce.c +++ b/gcc/tree-call-cdce.c @@ -928,6 +928,6 @@ struct gimple_opt_pass pass_call_cdce = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_ssa /* todo_flags_finish */ + TODO_verify_ssa /* todo_flags_finish */ } }; diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index 44b5c65..349f56e 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -261,8 +261,7 @@ struct gimple_opt_pass pass_build_cfg = PROP_cfg, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_verify_stmts | TODO_cleanup_cfg - | TODO_dump_func /* todo_flags_finish */ + TODO_verify_stmts | TODO_cleanup_cfg /* todo_flags_finish */ } }; @@ -7253,7 +7252,7 @@ struct gimple_opt_pass pass_split_crit_edges = PROP_no_crit_edges, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_flow /* todo_flags_finish */ + TODO_verify_flow /* todo_flags_finish */ } }; diff --git a/gcc/tree-cfgcleanup.c b/gcc/tree-cfgcleanup.c index ad8e477..1036e1e 100644 --- a/gcc/tree-cfgcleanup.c +++ b/gcc/tree-cfgcleanup.c @@ -1054,7 +1054,7 @@ struct gimple_opt_pass pass_merge_phi = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_ggc_collect /* todo_flags_finish */ + TODO_ggc_collect /* todo_flags_finish */ | TODO_verify_ssa } }; diff --git a/gcc/tree-complex.c b/gcc/tree-complex.c index ec2b438..1b2a588 100644 --- a/gcc/tree-complex.c +++ b/gcc/tree-complex.c @@ -1623,8 +1623,7 @@ struct gimple_opt_pass pass_lower_complex = PROP_gimple_lcx, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func - | TODO_ggc_collect + TODO_ggc_collect | TODO_update_ssa | TODO_verify_stmts /* todo_flags_finish */ } @@ -1654,8 +1653,7 @@ struct gimple_opt_pass pass_lower_complex_O0 = PROP_gimple_lcx, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func - | TODO_ggc_collect + TODO_ggc_collect | TODO_update_ssa | TODO_verify_stmts /* todo_flags_finish */ } diff --git a/gcc/tree-dfa.c b/gcc/tree-dfa.c index 9791bcc..62d4bfe 100644 --- a/gcc/tree-dfa.c +++ b/gcc/tree-dfa.c @@ -113,8 +113,8 @@ struct gimple_opt_pass pass_referenced_vars = PROP_gimple_leh | PROP_cfg, /* properties_required */ PROP_referenced_vars, /* properties_provided */ 0, /* properties_destroyed */ - TODO_dump_func, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0, /* todo_flags_start */ + 0 /* todo_flags_finish */ } }; @@ -1000,4 +1000,3 @@ stmt_references_abnormal_ssa_name (gimple stmt) return false; } - diff --git a/gcc/tree-eh.c b/gcc/tree-eh.c index e87c32e..5831d34 100644 --- a/gcc/tree-eh.c +++ b/gcc/tree-eh.c @@ -2052,7 +2052,7 @@ struct gimple_opt_pass pass_lower_eh = PROP_gimple_leh, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; @@ -2865,7 +2865,7 @@ struct gimple_opt_pass pass_refactor_eh = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; @@ -3071,7 +3071,7 @@ struct gimple_opt_pass pass_lower_resx = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_flow /* todo_flags_finish */ + TODO_verify_flow /* todo_flags_finish */ } }; @@ -3272,7 +3272,7 @@ struct gimple_opt_pass pass_lower_eh_dispatch = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_flow /* todo_flags_finish */ + TODO_verify_flow /* todo_flags_finish */ } }; @@ -4015,7 +4015,7 @@ struct gimple_opt_pass pass_cleanup_eh = { 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; diff --git a/gcc/tree-emutls.c b/gcc/tree-emutls.c index 1124047..e1a1c1d 100644 --- a/gcc/tree-emutls.c +++ b/gcc/tree-emutls.c @@ -783,7 +783,7 @@ ipa_lower_emutls (void) VEC_free (tree, heap, access_vars); free_varpool_node_set (tls_vars); - return TODO_dump_func | TODO_ggc_collect | TODO_verify_all; + return TODO_ggc_collect | TODO_verify_all; } /* If the target supports TLS natively, we need do nothing here. */ diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c index bf1c8cd..4fde3a3 100644 --- a/gcc/tree-if-conv.c +++ b/gcc/tree-if-conv.c @@ -1808,7 +1808,7 @@ struct gimple_opt_pass pass_if_conversion = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_stmts | TODO_verify_flow + TODO_verify_stmts | TODO_verify_flow /* todo_flags_finish */ } }; diff --git a/gcc/tree-into-ssa.c b/gcc/tree-into-ssa.c index 74386e4..f138e5b 100644 --- a/gcc/tree-into-ssa.c +++ b/gcc/tree-into-ssa.c @@ -2413,8 +2413,7 @@ struct gimple_opt_pass pass_build_ssa = PROP_ssa, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func - | TODO_update_ssa_only_virtuals + TODO_update_ssa_only_virtuals | TODO_verify_ssa | TODO_remove_unused_locals /* todo_flags_finish */ } diff --git a/gcc/tree-loop-distribution.c b/gcc/tree-loop-distribution.c index 1d6944e..ae17755 100644 --- a/gcc/tree-loop-distribution.c +++ b/gcc/tree-loop-distribution.c @@ -1313,6 +1313,6 @@ struct gimple_opt_pass pass_loop_distribution = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; diff --git a/gcc/tree-mudflap.c b/gcc/tree-mudflap.c index 40120b0..bcd77e2 100644 --- a/gcc/tree-mudflap.c +++ b/gcc/tree-mudflap.c @@ -1389,7 +1389,7 @@ struct gimple_opt_pass pass_mudflap_1 = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; @@ -1409,7 +1409,7 @@ struct gimple_opt_pass pass_mudflap_2 = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_verify_flow | TODO_verify_stmts - | TODO_dump_func | TODO_update_ssa /* todo_flags_finish */ + | TODO_update_ssa /* todo_flags_finish */ } }; diff --git a/gcc/tree-nrv.c b/gcc/tree-nrv.c index 32e422e..982fcc8 100644 --- a/gcc/tree-nrv.c +++ b/gcc/tree-nrv.c @@ -288,7 +288,7 @@ struct gimple_opt_pass pass_nrv = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_ggc_collect /* todo_flags_finish */ + TODO_ggc_collect /* todo_flags_finish */ } }; diff --git a/gcc/tree-object-size.c b/gcc/tree-object-size.c index 41118d2..674f72e 100644 --- a/gcc/tree-object-size.c +++ b/gcc/tree-object-size.c @@ -1282,6 +1282,6 @@ struct gimple_opt_pass pass_object_sizes = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_ssa /* todo_flags_finish */ + TODO_verify_ssa /* todo_flags_finish */ } }; diff --git a/gcc/tree-optimize.c b/gcc/tree-optimize.c index c46cf6c..411886ca 100644 --- a/gcc/tree-optimize.c +++ b/gcc/tree-optimize.c @@ -208,8 +208,7 @@ struct gimple_opt_pass pass_cleanup_cfg_post_optimizing = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ - | TODO_remove_unused_locals + TODO_remove_unused_locals /* todo_flags_finish */ } }; diff --git a/gcc/tree-profile.c b/gcc/tree-profile.c index 3bc4d5c..cd9b49d 100644 --- a/gcc/tree-profile.c +++ b/gcc/tree-profile.c @@ -591,7 +591,7 @@ struct simple_ipa_opt_pass pass_ipa_tree_profile = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c index 8ad84be..c7f4174 100644 --- a/gcc/tree-sra.c +++ b/gcc/tree-sra.c @@ -3093,8 +3093,7 @@ struct gimple_opt_pass pass_sra_early = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func - | TODO_update_ssa + TODO_update_ssa | TODO_ggc_collect | TODO_verify_ssa /* todo_flags_finish */ } @@ -3115,8 +3114,7 @@ struct gimple_opt_pass pass_sra = 0, /* properties_provided */ 0, /* properties_destroyed */ TODO_update_address_taken, /* todo_flags_start */ - TODO_dump_func - | TODO_update_ssa + TODO_update_ssa | TODO_ggc_collect | TODO_verify_ssa /* todo_flags_finish */ } @@ -4589,8 +4587,6 @@ struct gimple_opt_pass pass_early_ipa_sra = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_dump_cgraph /* todo_flags_finish */ + TODO_dump_cgraph /* todo_flags_finish */ } }; - - diff --git a/gcc/tree-ssa-ccp.c b/gcc/tree-ssa-ccp.c index 2caec4c..11bfb76 100644 --- a/gcc/tree-ssa-ccp.c +++ b/gcc/tree-ssa-ccp.c @@ -1953,7 +1953,7 @@ struct gimple_opt_pass pass_ccp = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_ssa + TODO_verify_ssa | TODO_verify_stmts | TODO_ggc_collect/* todo_flags_finish */ } }; @@ -2256,8 +2256,7 @@ struct gimple_opt_pass pass_fold_builtins = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func - | TODO_verify_ssa + TODO_verify_ssa | TODO_update_ssa /* todo_flags_finish */ } }; diff --git a/gcc/tree-ssa-copy.c b/gcc/tree-ssa-copy.c index 211d7de..4c6d992 100644 --- a/gcc/tree-ssa-copy.c +++ b/gcc/tree-ssa-copy.c @@ -848,7 +848,6 @@ struct gimple_opt_pass pass_copy_prop = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_cleanup_cfg - | TODO_dump_func | TODO_ggc_collect | TODO_verify_ssa | TODO_update_ssa /* todo_flags_finish */ diff --git a/gcc/tree-ssa-copyrename.c b/gcc/tree-ssa-copyrename.c index ae4fb5f..88a156b 100644 --- a/gcc/tree-ssa-copyrename.c +++ b/gcc/tree-ssa-copyrename.c @@ -399,6 +399,6 @@ struct gimple_opt_pass pass_rename_ssa_copies = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_ssa /* todo_flags_finish */ + TODO_verify_ssa /* todo_flags_finish */ } }; diff --git a/gcc/tree-ssa-dce.c b/gcc/tree-ssa-dce.c index b13ef59..6b77876 100644 --- a/gcc/tree-ssa-dce.c +++ b/gcc/tree-ssa-dce.c @@ -1527,7 +1527,7 @@ struct gimple_opt_pass pass_dce = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_ssa /* todo_flags_finish */ + TODO_verify_ssa /* todo_flags_finish */ } }; @@ -1546,7 +1546,7 @@ struct gimple_opt_pass pass_dce_loop = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_ssa /* todo_flags_finish */ + TODO_verify_ssa /* todo_flags_finish */ } }; @@ -1565,7 +1565,7 @@ struct gimple_opt_pass pass_cd_dce = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_ssa + TODO_verify_ssa | TODO_verify_flow /* todo_flags_finish */ } }; diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c index 2e9498e..f41d7ec 100644 --- a/gcc/tree-ssa-dom.c +++ b/gcc/tree-ssa-dom.c @@ -816,8 +816,7 @@ struct gimple_opt_pass pass_dominator = TODO_cleanup_cfg | TODO_update_ssa | TODO_verify_ssa - | TODO_verify_flow - | TODO_dump_func /* todo_flags_finish */ + | TODO_verify_flow /* todo_flags_finish */ } }; @@ -2969,7 +2968,6 @@ struct gimple_opt_pass pass_phi_only_cprop = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_cleanup_cfg - | TODO_dump_func | TODO_ggc_collect | TODO_verify_ssa | TODO_verify_stmts diff --git a/gcc/tree-ssa-dse.c b/gcc/tree-ssa-dse.c index 6d51dab..285d08c 100644 --- a/gcc/tree-ssa-dse.c +++ b/gcc/tree-ssa-dse.c @@ -352,9 +352,7 @@ struct gimple_opt_pass pass_dse = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func - | TODO_ggc_collect + TODO_ggc_collect | TODO_verify_ssa /* todo_flags_finish */ } }; - diff --git a/gcc/tree-ssa-forwprop.c b/gcc/tree-ssa-forwprop.c index 77a6264..86f4502 100644 --- a/gcc/tree-ssa-forwprop.c +++ b/gcc/tree-ssa-forwprop.c @@ -2437,10 +2437,8 @@ struct gimple_opt_pass pass_forwprop = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func - | TODO_ggc_collect + TODO_ggc_collect | TODO_update_ssa | TODO_verify_ssa /* todo_flags_finish */ } }; - diff --git a/gcc/tree-ssa-ifcombine.c b/gcc/tree-ssa-ifcombine.c index 9063bfd..459c60a 100644 --- a/gcc/tree-ssa-ifcombine.c +++ b/gcc/tree-ssa-ifcombine.c @@ -663,8 +663,7 @@ struct gimple_opt_pass pass_tree_ifcombine = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func - | TODO_ggc_collect + TODO_ggc_collect | TODO_update_ssa | TODO_verify_ssa /* todo_flags_finish */ } diff --git a/gcc/tree-ssa-loop-ch.c b/gcc/tree-ssa-loop-ch.c index c58cb5f..57e71b4 100644 --- a/gcc/tree-ssa-loop-ch.c +++ b/gcc/tree-ssa-loop-ch.c @@ -278,7 +278,6 @@ struct gimple_opt_pass pass_ch = 0, /* todo_flags_start */ TODO_cleanup_cfg | TODO_verify_ssa - | TODO_verify_flow - | TODO_dump_func /* todo_flags_finish */ + | TODO_verify_flow /* todo_flags_finish */ } }; diff --git a/gcc/tree-ssa-loop.c b/gcc/tree-ssa-loop.c index c7efc7c..1a9c2be 100644 --- a/gcc/tree-ssa-loop.c +++ b/gcc/tree-ssa-loop.c @@ -60,7 +60,7 @@ struct gimple_opt_pass pass_tree_loop = 0, /* properties_provided */ 0, /* properties_destroyed */ TODO_ggc_collect, /* todo_flags_start */ - TODO_dump_func | TODO_verify_ssa | TODO_ggc_collect /* todo_flags_finish */ + TODO_verify_ssa | TODO_ggc_collect /* todo_flags_finish */ } }; @@ -95,7 +95,7 @@ struct gimple_opt_pass pass_tree_loop_init = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; @@ -131,7 +131,7 @@ struct gimple_opt_pass pass_lim = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; @@ -167,7 +167,7 @@ struct gimple_opt_pass pass_tree_unswitch = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_ggc_collect | TODO_dump_func /* todo_flags_finish */ + TODO_ggc_collect /* todo_flags_finish */ } }; @@ -203,8 +203,7 @@ struct gimple_opt_pass pass_predcom = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func - | TODO_update_ssa_only_virtuals /* todo_flags_finish */ + TODO_update_ssa_only_virtuals /* todo_flags_finish */ } }; @@ -240,7 +239,7 @@ struct gimple_opt_pass pass_vectorize = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_update_ssa + TODO_update_ssa | TODO_ggc_collect /* todo_flags_finish */ } }; @@ -308,7 +307,7 @@ struct gimple_opt_pass pass_graphite_transforms = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; @@ -345,7 +344,7 @@ struct gimple_opt_pass pass_check_data_deps = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; @@ -381,7 +380,7 @@ struct gimple_opt_pass pass_iv_canon = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; @@ -408,7 +407,7 @@ struct gimple_opt_pass pass_scev_cprop = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_cleanup_cfg + TODO_cleanup_cfg | TODO_update_ssa_only_virtuals /* todo_flags_finish */ } @@ -480,8 +479,7 @@ struct gimple_opt_pass pass_complete_unroll = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func - | TODO_ggc_collect /* todo_flags_finish */ + TODO_ggc_collect /* todo_flags_finish */ } }; @@ -528,7 +526,6 @@ struct gimple_opt_pass pass_complete_unrolli = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_verify_flow - | TODO_dump_func | TODO_ggc_collect /* todo_flags_finish */ } }; @@ -567,7 +564,7 @@ struct gimple_opt_pass pass_parallelize_loops = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; @@ -603,7 +600,7 @@ struct gimple_opt_pass pass_loop_prefetch = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; @@ -640,7 +637,7 @@ struct gimple_opt_pass pass_iv_optimize = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_update_ssa | TODO_ggc_collect /* todo_flags_finish */ + TODO_update_ssa | TODO_ggc_collect /* todo_flags_finish */ } }; @@ -671,7 +668,6 @@ struct gimple_opt_pass pass_tree_loop_done = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_cleanup_cfg - | TODO_verify_flow - | TODO_dump_func /* todo_flags_finish */ + | TODO_verify_flow /* todo_flags_finish */ } }; diff --git a/gcc/tree-ssa-math-opts.c b/gcc/tree-ssa-math-opts.c index bffd7f2..bc7919a 100644 --- a/gcc/tree-ssa-math-opts.c +++ b/gcc/tree-ssa-math-opts.c @@ -645,7 +645,7 @@ struct gimple_opt_pass pass_cse_reciprocals = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_update_ssa | TODO_verify_ssa + TODO_update_ssa | TODO_verify_ssa | TODO_verify_stmts /* todo_flags_finish */ } }; @@ -1491,7 +1491,7 @@ struct gimple_opt_pass pass_cse_sincos = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_update_ssa | TODO_verify_ssa + TODO_update_ssa | TODO_verify_ssa | TODO_verify_stmts /* todo_flags_finish */ } }; @@ -1918,7 +1918,7 @@ execute_optimize_bswap (void) statistics_counter_event (cfun, "64-bit bswap implementations found", bswap_stats.found_64bit); - return (changed ? TODO_dump_func | TODO_update_ssa | TODO_verify_ssa + return (changed ? TODO_update_ssa | TODO_verify_ssa | TODO_verify_stmts : 0); } @@ -2471,7 +2471,6 @@ struct gimple_opt_pass pass_optimize_widening_mul = 0, /* todo_flags_start */ TODO_verify_ssa | TODO_verify_stmts - | TODO_dump_func | TODO_update_ssa /* todo_flags_finish */ } }; diff --git a/gcc/tree-ssa-phiopt.c b/gcc/tree-ssa-phiopt.c index 6b15ae0..79e8e01 100644 --- a/gcc/tree-ssa-phiopt.c +++ b/gcc/tree-ssa-phiopt.c @@ -1588,8 +1588,7 @@ struct gimple_opt_pass pass_phiopt = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func - | TODO_ggc_collect + TODO_ggc_collect | TODO_verify_ssa | TODO_verify_flow | TODO_verify_stmts /* todo_flags_finish */ @@ -1617,8 +1616,7 @@ struct gimple_opt_pass pass_cselim = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func - | TODO_ggc_collect + TODO_ggc_collect | TODO_verify_ssa | TODO_verify_flow | TODO_verify_stmts /* todo_flags_finish */ diff --git a/gcc/tree-ssa-phiprop.c b/gcc/tree-ssa-phiprop.c index a38e696..3064437 100644 --- a/gcc/tree-ssa-phiprop.c +++ b/gcc/tree-ssa-phiprop.c @@ -426,8 +426,7 @@ struct gimple_opt_pass pass_phiprop = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func - | TODO_ggc_collect + TODO_ggc_collect | TODO_update_ssa | TODO_verify_ssa /* todo_flags_finish */ } diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index 27e84c2..7c54d2a 100644 --- a/gcc/tree-ssa-pre.c +++ b/gcc/tree-ssa-pre.c @@ -4978,7 +4978,7 @@ struct gimple_opt_pass pass_pre = 0, /* properties_provided */ 0, /* properties_destroyed */ TODO_rebuild_alias, /* todo_flags_start */ - TODO_update_ssa_only_virtuals | TODO_dump_func | TODO_ggc_collect + TODO_update_ssa_only_virtuals | TODO_ggc_collect | TODO_verify_ssa /* todo_flags_finish */ } }; @@ -5013,6 +5013,6 @@ struct gimple_opt_pass pass_fre = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_ggc_collect | TODO_verify_ssa /* todo_flags_finish */ + TODO_ggc_collect | TODO_verify_ssa /* todo_flags_finish */ } }; diff --git a/gcc/tree-ssa-reassoc.c b/gcc/tree-ssa-reassoc.c index 987ec65..d8f9e2e 100644 --- a/gcc/tree-ssa-reassoc.c +++ b/gcc/tree-ssa-reassoc.c @@ -2299,8 +2299,6 @@ struct gimple_opt_pass pass_reassoc = 0, /* todo_flags_start */ TODO_verify_ssa | TODO_verify_flow - | TODO_dump_func | TODO_ggc_collect /* todo_flags_finish */ } }; - diff --git a/gcc/tree-ssa-sink.c b/gcc/tree-ssa-sink.c index 4dc5ae4..5107238 100644 --- a/gcc/tree-ssa-sink.c +++ b/gcc/tree-ssa-sink.c @@ -639,7 +639,6 @@ struct gimple_opt_pass pass_sink_code = TODO_update_ssa | TODO_verify_ssa | TODO_verify_flow - | TODO_dump_func | TODO_ggc_collect /* todo_flags_finish */ } }; diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index 3544caf..d5516e6 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -6634,7 +6634,7 @@ struct gimple_opt_pass pass_build_alias = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_rebuild_alias | TODO_dump_func /* todo_flags_finish */ + TODO_rebuild_alias /* todo_flags_finish */ } }; @@ -6656,7 +6656,7 @@ struct gimple_opt_pass pass_build_ealias = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_rebuild_alias | TODO_dump_func /* todo_flags_finish */ + TODO_rebuild_alias /* todo_flags_finish */ } }; diff --git a/gcc/tree-ssa-uncprop.c b/gcc/tree-ssa-uncprop.c index 30aa4c7..6f603ff 100644 --- a/gcc/tree-ssa-uncprop.c +++ b/gcc/tree-ssa-uncprop.c @@ -596,7 +596,6 @@ struct gimple_opt_pass pass_uncprop = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_ssa /* todo_flags_finish */ + TODO_verify_ssa /* todo_flags_finish */ } }; - diff --git a/gcc/tree-ssa.c b/gcc/tree-ssa.c index f0bbf3b..e4d931f 100644 --- a/gcc/tree-ssa.c +++ b/gcc/tree-ssa.c @@ -2277,7 +2277,6 @@ struct gimple_opt_pass pass_update_address_taken = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_update_address_taken - | TODO_dump_func /* todo_flags_finish */ + TODO_update_address_taken /* todo_flags_finish */ } }; diff --git a/gcc/tree-ssanames.c b/gcc/tree-ssanames.c index 06cdbee..42eb924 100644 --- a/gcc/tree-ssanames.c +++ b/gcc/tree-ssanames.c @@ -366,6 +366,6 @@ struct gimple_opt_pass pass_release_ssa_names = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; diff --git a/gcc/tree-stdarg.c b/gcc/tree-stdarg.c index 46fc339..3e89016 100644 --- a/gcc/tree-stdarg.c +++ b/gcc/tree-stdarg.c @@ -963,6 +963,6 @@ struct gimple_opt_pass pass_stdarg = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func /* todo_flags_finish */ + 0 /* todo_flags_finish */ } }; diff --git a/gcc/tree-switch-conversion.c b/gcc/tree-switch-conversion.c index c7a6f81..4fb3e8a 100644 --- a/gcc/tree-switch-conversion.c +++ b/gcc/tree-switch-conversion.c @@ -1028,7 +1028,7 @@ struct gimple_opt_pass pass_convert_switch = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_update_ssa | TODO_dump_func + TODO_update_ssa | TODO_ggc_collect | TODO_verify_ssa /* todo_flags_finish */ } }; diff --git a/gcc/tree-tailcall.c b/gcc/tree-tailcall.c index 6a23080..39a9067 100644 --- a/gcc/tree-tailcall.c +++ b/gcc/tree-tailcall.c @@ -1092,7 +1092,7 @@ struct gimple_opt_pass pass_tail_recursion = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_ssa /* todo_flags_finish */ + TODO_verify_ssa /* todo_flags_finish */ } }; @@ -1111,6 +1111,6 @@ struct gimple_opt_pass pass_tail_calls = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_ssa /* todo_flags_finish */ + TODO_verify_ssa /* todo_flags_finish */ } }; diff --git a/gcc/tree-vect-generic.c b/gcc/tree-vect-generic.c index 41e21b4..afcd63d 100644 --- a/gcc/tree-vect-generic.c +++ b/gcc/tree-vect-generic.c @@ -658,7 +658,7 @@ struct gimple_opt_pass pass_lower_vector = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_update_ssa /* todo_flags_finish */ + TODO_update_ssa /* todo_flags_finish */ | TODO_verify_ssa | TODO_verify_stmts | TODO_verify_flow } @@ -679,7 +679,7 @@ struct gimple_opt_pass pass_lower_vector_ssa = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_update_ssa /* todo_flags_finish */ + TODO_update_ssa /* todo_flags_finish */ | TODO_verify_ssa | TODO_verify_stmts | TODO_verify_flow } diff --git a/gcc/tree-vectorizer.c b/gcc/tree-vectorizer.c index ed73dee..77fb034 100644 --- a/gcc/tree-vectorizer.c +++ b/gcc/tree-vectorizer.c @@ -292,7 +292,6 @@ struct gimple_opt_pass pass_slp_vectorize = 0, /* todo_flags_start */ TODO_ggc_collect | TODO_verify_ssa - | TODO_dump_func | TODO_update_ssa | TODO_verify_stmts /* todo_flags_finish */ } diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c index 0ca27ef..d12d634 100644 --- a/gcc/tree-vrp.c +++ b/gcc/tree-vrp.c @@ -7816,7 +7816,6 @@ struct gimple_opt_pass pass_vrp = | TODO_update_ssa | TODO_verify_ssa | TODO_verify_flow - | TODO_dump_func | TODO_ggc_collect /* todo_flags_finish */ } }; diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c index 0ddc8d7..1828d1f 100644 --- a/gcc/var-tracking.c +++ b/gcc/var-tracking.c @@ -9131,6 +9131,6 @@ struct rtl_opt_pass pass_variable_tracking = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_rtl_sharing/* todo_flags_finish */ + TODO_verify_rtl_sharing /* todo_flags_finish */ } }; @@ -433,8 +433,6 @@ struct rtl_opt_pass pass_web = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_df_finish | TODO_verify_rtl_sharing | - TODO_dump_func /* todo_flags_finish */ + TODO_df_finish | TODO_verify_rtl_sharing /* todo_flags_finish */ } }; - |