From: Bernd Schmidt Date: Thu, 9 Sep 1999 16:24:08 +0000 (+0000) Subject: Add a missing GC root X-Git-Tag: prereleases/libstdc++-2.92~10714 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=638e6ebc2793bde531c43e7a440243c98458b275;p=thirdparty%2Fgcc.git Add a missing GC root From-SVN: r29236 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f42c44f58a99..87f8f7afb409 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 98dba0cb5daf..f74d8fbf09f6 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);