summaryrefslogtreecommitdiff
path: root/gcc/auto-inc-dec.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/auto-inc-dec.c')
-rw-r--r--gcc/auto-inc-dec.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/auto-inc-dec.c b/gcc/auto-inc-dec.c
index 2e2d047bf97..8dbcecf93b5 100644
--- a/gcc/auto-inc-dec.c
+++ b/gcc/auto-inc-dec.c
@@ -1540,8 +1540,10 @@ gate_auto_inc_dec (void)
}
-struct tree_opt_pass pass_inc_dec =
+struct rtl_opt_pass pass_inc_dec =
{
+ {
+ RTL_PASS,
"auto-inc-dec", /* name */
gate_auto_inc_dec, /* gate */
rest_of_handle_auto_inc_dec, /* execute */
@@ -1555,6 +1557,6 @@ struct tree_opt_pass pass_inc_dec =
0, /* todo_flags_start */
TODO_dump_func |
TODO_df_finish, /* todo_flags_finish */
- 0 /* letter */
+ }
};