diff options
Diffstat (limited to 'gcc/dce.c')
-rw-r--r-- | gcc/dce.c | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -567,8 +567,10 @@ gate_ud_dce (void) && dbg_cnt (dce_ud); } -struct tree_opt_pass pass_ud_rtl_dce = +struct rtl_opt_pass pass_ud_rtl_dce = { + { + RTL_PASS, "dce", /* name */ gate_ud_dce, /* gate */ rest_of_handle_ud_dce, /* execute */ @@ -582,8 +584,8 @@ struct tree_opt_pass pass_ud_rtl_dce = 0, /* todo_flags_start */ TODO_dump_func | TODO_df_finish | TODO_verify_rtl_sharing | - TODO_ggc_collect, /* todo_flags_finish */ - 'w' /* letter */ + TODO_ggc_collect /* todo_flags_finish */ + } }; @@ -853,8 +855,10 @@ gate_fast_dce (void) && dbg_cnt (dce_fast); } -struct tree_opt_pass pass_fast_rtl_dce = +struct rtl_opt_pass pass_fast_rtl_dce = { + { + RTL_PASS, "dce", /* name */ gate_fast_dce, /* gate */ rest_of_handle_fast_dce, /* execute */ @@ -868,6 +872,6 @@ struct tree_opt_pass pass_fast_rtl_dce = 0, /* todo_flags_start */ TODO_dump_func | TODO_df_finish | TODO_verify_rtl_sharing | - TODO_ggc_collect, /* todo_flags_finish */ - 'w' /* letter */ + TODO_ggc_collect /* todo_flags_finish */ + } }; |