diff options
Diffstat (limited to 'gcc/regrename.c')
-rw-r--r-- | gcc/regrename.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/gcc/regrename.c b/gcc/regrename.c index 74112c3ca53..cfc0881be1f 100644 --- a/gcc/regrename.c +++ b/gcc/regrename.c @@ -1938,8 +1938,10 @@ rest_of_handle_regrename (void) return 0; } -struct tree_opt_pass pass_regrename = +struct rtl_opt_pass pass_regrename = { + { + RTL_PASS, "rnreg", /* name */ gate_handle_regrename, /* gate */ rest_of_handle_regrename, /* execute */ @@ -1952,8 +1954,8 @@ struct tree_opt_pass pass_regrename = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_df_finish | TODO_verify_rtl_sharing | - TODO_dump_func, /* todo_flags_finish */ - 'n' /* letter */ + TODO_dump_func /* todo_flags_finish */ + } }; static bool @@ -1971,8 +1973,10 @@ rest_of_handle_cprop (void) return 0; } -struct tree_opt_pass pass_cprop_hardreg = +struct rtl_opt_pass pass_cprop_hardreg = { + { + RTL_PASS, "cprop_hardreg", /* name */ gate_handle_cprop, /* gate */ rest_of_handle_cprop, /* execute */ @@ -1984,7 +1988,7 @@ struct tree_opt_pass pass_cprop_hardreg = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - TODO_dump_func | TODO_verify_rtl_sharing, /* todo_flags_finish */ - 'n' /* letter */ + TODO_dump_func | TODO_verify_rtl_sharing /* todo_flags_finish */ + } }; |