From 638e6ebc2793bde531c43e7a440243c98458b275 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Thu, 9 Sep 1999 16:24:08 +0000 Subject: [PATCH] Add a missing GC root From-SVN: r29236 --- gcc/ChangeLog | 5 +++++ gcc/except.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f42c44f..87f8f7a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu Sep 9 17:23:19 1999 Bernd Schmidt + + * except.c (call_get_eh_context): Add root when allocating static + tree variable. + Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw * arm.c: Include "ggc.h". diff --git a/gcc/except.c b/gcc/except.c index 98dba0c..f74d8fb 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -1101,6 +1101,8 @@ call_get_eh_context () make_decl_rtl (fn, NULL_PTR, 1); assemble_external (fn); pop_obstacks (); + + ggc_add_tree_root (&fn, 1); } expr = build1 (ADDR_EXPR, build_pointer_type (TREE_TYPE (fn)), fn); -- 2.7.4