From d1485032c8ae427d2090b32d8dfc50e207f64fd9 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Sat, 18 Oct 1997 21:10:32 +0000 Subject: tree.c (restore_tree_status): Also free up temporary storage when we finish a toplevel function. * tree.c (restore_tree_status): Also free up temporary storage when we finish a toplevel function. (dump_tree_statistics): Print stats for backend obstacks. * libgcc2.c (__throw): Don't copy the return address. * dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address. * except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized). * toplev.c (main): Initialize exceptions_via_longjmp. * tree.c: Add extra_inline_obstacks. (save_tree_status): Use it. (restore_tree_status): If this is a toplevel inline obstack and we didn't want to save anything on it, recycle it. (print_inline_obstack_statistics): New fn. * function.c (pop_function_context_from): Pass context to restore_tree_status. * obstack.h (obstack_empty_p): New macro. From-SVN: r16050 --- gcc/function.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/function.c') diff --git a/gcc/function.c b/gcc/function.c index 644cc72..61a72fe 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -610,7 +610,7 @@ pop_function_context_from (context) reg_renumber = 0; current_function_args_info = p->args_info; - restore_tree_status (p); + restore_tree_status (p, context); restore_storage_status (p); restore_expr_status (p); restore_emit_status (p); -- cgit v1.1