aboutsummaryrefslogtreecommitdiff
path: root/gcc/explow.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/explow.c')
-rw-r--r--gcc/explow.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/explow.c b/gcc/explow.c
index fb1c2a0..2846636 100644
--- a/gcc/explow.c
+++ b/gcc/explow.c
@@ -1422,14 +1422,13 @@ allocate_dynamic_stack_space (size, target, known_align)
run-time routine to call to check the stack, so provide a mechanism for
calling that routine. */
-static rtx stack_check_libfunc;
+static GTY(()) rtx stack_check_libfunc;
void
set_stack_check_libfunc (libfunc)
rtx libfunc;
{
stack_check_libfunc = libfunc;
- ggc_add_rtx_root (&stack_check_libfunc, 1);
}
/* Emit one stack probe at ADDRESS, an address within the stack. */
@@ -1684,3 +1683,6 @@ rtx_to_tree_code (code)
}
return ((int) tcode);
}
+
+#include "gt-explow.h"
+