summaryrefslogtreecommitdiff
path: root/gcc/ipa-cp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ipa-cp.c')
-rw-r--r--gcc/ipa-cp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c
index 23e8de80a2e..898d95e8212 100644
--- a/gcc/ipa-cp.c
+++ b/gcc/ipa-cp.c
@@ -1079,7 +1079,7 @@ ipcp_insert_stage (void)
}
/* The IPCP driver. */
-void
+unsigned int
ipcp_driver (void)
{
if (dump_file)
@@ -1117,6 +1117,7 @@ ipcp_driver (void)
if (dump_file)
fprintf (dump_file, "\nIPA constant propagation end\n");
cgraph_remove_unreachable_nodes (true, NULL);
+ return 0;
}
/* Gate for IPCP optimization. */