From 7ae0297fa42e7cca9c3108f4ccfdd00f6e35d37a Mon Sep 17 00:00:00 2001 From: Michael Hayes Date: Wed, 22 Sep 1999 08:00:56 +0000 Subject: [PATCH] * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots. From-SVN: r29580 --- gcc/ChangeLog | 4 ++++ gcc/config/c4x/c4x.c | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 41a280500b6..cbeef751bfd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Wed Sep 22 19:59:19 1999 Michael Hayes + + * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots. + Wed Sep 22 19:56:25 1999 Michael Hayes * 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 28ec73b7221..cee08a1a60c 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); }