summaryrefslogtreecommitdiff
path: root/gcc/reg-stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/reg-stack.c')
-rw-r--r--gcc/reg-stack.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c
index eb7a3c12751..73c132fda22 100644
--- a/gcc/reg-stack.c
+++ b/gcc/reg-stack.c
@@ -3136,7 +3136,7 @@ gate_handle_stack_regs (void)
/* Convert register usage from flat register file usage to a stack
register file. */
-static void
+static unsigned int
rest_of_handle_stack_regs (void)
{
#ifdef STACK_REGS
@@ -3151,6 +3151,7 @@ rest_of_handle_stack_regs (void)
}
}
#endif
+ return 0;
}
struct tree_opt_pass pass_stack_regs =