summaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1997-10-18 21:10:32 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1997-10-18 21:10:32 +0000
commit73eac312a5b993d7628da03461c79c4452be729d (patch)
tree3d75f9c5827cef9704b4bbc12cbda4145c21754a /gcc/function.c
parent2f373e5d7060522f0a25cfc15632fa9a4303f961 (diff)
downloadgcc-73eac312a5b993d7628da03461c79c4452be729d.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16050 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 644cc72eb53..61a72fe7d96 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);