From 6e1f1f930b46d57aaf3fdd3fbbbb5fe68aee4f7d Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Thu, 19 Mar 1998 18:49:57 +0000 Subject: [PATCH] except.c (init_eh): Do nothing. * except.c (init_eh): Do nothing. (save_eh_status): Call init_eh_for_function, not init_eh. * function.c (push_function_context_to): Don't call init_emit. From-SVN: r18710 --- gcc/ChangeLog | 6 ++++++ gcc/except.c | 5 +---- gcc/function.c | 1 - 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d2b040e36bb..391fd9ccbe6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Thu Mar 19 00:58:07 1998 Jason Merrill + + * except.c (init_eh): Do nothing. + (save_eh_status): Call init_eh_for_function, not init_eh. + * function.c (push_function_context_to): Don't call init_emit. + Thu Mar 19 13:39:52 1998 Michael Meissner * rs6000/sysv4.h (RELATIVE_PREFIX_NOT_LINKDIR): Undef for System V diff --git a/gcc/except.c b/gcc/except.c index 4a0c2491b5c..de538faaafc 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -1788,9 +1788,6 @@ check_exception_handler_labels () void init_eh () { - /* Generate rtl to reference the variable in which the PC of the - current context is saved. */ - (void) build_pointer_type (make_node (VOID_TYPE)); } /* Initialize the per-function EH information. */ @@ -1827,7 +1824,7 @@ save_eh_status (p) p->protect_list = protect_list; p->ehc = current_function_ehc; - init_eh (); + init_eh_for_function (); } /* Restore the per-function EH info saved into the area denoted by P. diff --git a/gcc/function.c b/gcc/function.c index 19a1c20bd81..ac4a4982fa1 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -516,7 +516,6 @@ push_function_context_to (context) save_tree_status (p, context); save_storage_status (p); save_emit_status (p); - init_emit (); save_expr_status (p); save_stmt_status (p); save_varasm_status (p, context); -- 2.30.2