Add a missing GC root
From-SVN: r29236
This commit is contained in:
parent
92a432f4dd
commit
638e6ebc27
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
|
||||
|
||||
* except.c (call_get_eh_context): Add root when allocating static
|
||||
tree variable.
|
||||
|
||||
Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
|
||||
|
||||
* arm.c: Include "ggc.h".
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue