summaryrefslogtreecommitdiff
path: root/gcc/var-tracking.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/var-tracking.c')
-rw-r--r--gcc/var-tracking.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c
index 2d73deff45c..7e910d6bcba 100644
--- a/gcc/var-tracking.c
+++ b/gcc/var-tracking.c
@@ -2676,11 +2676,11 @@ vt_finalize (void)
/* The entry point to variable tracking pass. */
-void
+unsigned int
variable_tracking_main (void)
{
if (n_basic_blocks > 500 && n_edges / n_basic_blocks >= 20)
- return;
+ return 0;
mark_dfs_back_edges ();
vt_initialize ();
@@ -2689,7 +2689,7 @@ variable_tracking_main (void)
if (!vt_stack_adjustments ())
{
vt_finalize ();
- return;
+ return 0;
}
}
@@ -2703,6 +2703,7 @@ variable_tracking_main (void)
}
vt_finalize ();
+ return 0;
}
static bool