summaryrefslogtreecommitdiff
path: root/gcc/global.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/global.c')
-rw-r--r--gcc/global.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/global.c b/gcc/global.c
index 4cead231eec..0642a708d04 100644
--- a/gcc/global.c
+++ b/gcc/global.c
@@ -2499,7 +2499,7 @@ make_accurate_live_analysis (void)
}
/* Run old register allocator. Return TRUE if we must exit
rest_of_compilation upon return. */
-static void
+static unsigned int
rest_of_handle_global_alloc (void)
{
bool failure;
@@ -2524,6 +2524,7 @@ rest_of_handle_global_alloc (void)
gcc_assert (reload_completed || failure);
reload_completed = !failure;
+ return 0;
}
struct tree_opt_pass pass_global_alloc =