aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/c4x/c4x.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 41a2805..cbeef75 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
+
+ * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
+
Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
diff --git a/gcc/config/c4x/c4x.c b/gcc/config/c4x/c4x.c
index 28ec73b..cee08a1 100644
--- a/gcc/config/c4x/c4x.c
+++ b/gcc/config/c4x/c4x.c
@@ -156,6 +156,11 @@ c4x_add_gc_roots ()
{
ggc_add_rtx_root (&c4x_compare_op0, 1);
ggc_add_rtx_root (&c4x_compare_op1, 1);
+ ggc_add_tree_root (&code_tree, 1);
+ ggc_add_tree_root (&data_tree, 1);
+ ggc_add_tree_root (&pure_tree, 1);
+ ggc_add_tree_root (&noreturn_tree, 1);
+ ggc_add_tree_root (&interrupt_tree, 1);
}