aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/init.c')
-rw-r--r--gcc/cp/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/init.c b/gcc/cp/init.c
index 487543e6386..c0828dce033 100644
--- a/gcc/cp/init.c
+++ b/gcc/cp/init.c
@@ -73,7 +73,8 @@ void init_init_processing ()
finish_builtin_type (BI_header_type, "__new_cookie", fields,
0, double_type_node);
- ggc_add_tree_root (&BI_header_type, 1);
+ ggc_add_tree_root (&BI_header_type, 1, "BI_header_type");
+ add_tree_addresses (&data_to_save, &BI_header_type, 1, "BI_header_type");
}
/* We are about to generate some complex initialization code.