* config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
authorMichael Hayes <m.hayes@elec.canterbury.ac.nz>
Wed, 22 Sep 1999 08:00:56 +0000 (08:00 +0000)
committerMichael Hayes <m.hayes@gcc.gnu.org>
Wed, 22 Sep 1999 08:00:56 +0000 (08:00 +0000)
From-SVN: r29580

gcc/ChangeLog
gcc/config/c4x/c4x.c

index 41a2805..cbeef75 100644 (file)
@@ -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
index 28ec73b..cee08a1 100644 (file)
@@ -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);
 }