diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1999-10-03 16:28:33 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1999-10-03 16:28:33 +0000 |
commit | ca3075bd73284367f527e7c4e987d3c933638add (patch) | |
tree | 55795b9bbaaf83eb846e7535a9776f7e8e633c25 /gcc/except.c | |
parent | 93868d11a61ed7c903a112b9a29b43907220f51a (diff) | |
download | gcc-ca3075bd73284367f527e7c4e987d3c933638add.zip gcc-ca3075bd73284367f527e7c4e987d3c933638add.tar.gz gcc-ca3075bd73284367f527e7c4e987d3c933638add.tar.bz2 |
cpplib.c (if_directive_nameo): Add static prototype.
* cpplib.c (if_directive_nameo): Add static prototype.
* cse.c (cse_insn): Remove unused variable `p'.
* except.c (create_rethrow_ref, push_entry,
receive_exception_label, new_eh_region_entry, find_func_region,
clear_function_eh_region, process_nestinfo): Add static prototypes.
(get_reg_for_handler): Hide definition.
(process_nestinfo): Initialize variable `extra_handlers'.
* expr.h (expand_builtin_longjmp): Add extern prototype.
* final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
* function.c (prepare_function_start): Likewise.
(pop_function_context_from): Mark parameter `context' with
ATTRIBUTE_UNUSED.
(push_temp_slots_for_block, flush_addressof): Hide definition.
* gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
solve_program_flow_graph, calculate_branch_probs,
function_summary, main, fancy_abort): Add prototypes.
* gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
(add_hash): Constify a char*.
* ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
* integrate.c (expand_inline_function_eh_labelmap): Likewise.
* lists.c (free_list, zap_lists): Likewise.
From-SVN: r29783
Diffstat (limited to 'gcc/except.c')
-rw-r--r-- | gcc/except.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/gcc/except.c b/gcc/except.c index 3ecf7fc..c7257b3 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -472,7 +472,14 @@ static void mark_eh_node PROTO((struct eh_node *)); static void mark_eh_stack PROTO((struct eh_stack *)); static void mark_eh_queue PROTO((struct eh_queue *)); static void mark_tree_label_node PROTO ((struct label_node *)); -static void mark_func_eh_entry PROTO ((void *)); +static void mark_func_eh_entry PROTO ((void *)); +static rtx create_rethrow_ref PROTO ((int)); +static void push_entry PROTO ((struct eh_stack *, struct eh_entry*)); +static void receive_exception_label PROTO ((rtx)); +static int new_eh_region_entry PROTO ((int, rtx)); +static int find_func_region PROTO ((int)); +static void clear_function_eh_region PROTO ((void)); +static void process_nestinfo PROTO ((int, eh_nesting_info *, int *)); rtx expand_builtin_return_addr PROTO((enum built_in_function, int, rtx)); @@ -877,7 +884,7 @@ get_new_handler (handler, typeinfo) /* Find the index in function_eh_regions associated with a NOTE region. If the region cannot be found, a -1 is returned. This should never happen! */ -int +static int find_func_region (insn_region) int insn_region; { @@ -2842,6 +2849,7 @@ eh_regs (pcontext, psp, pra, outgoing) /* Retrieve the register which contains the pointer to the eh_context structure set the __throw. */ +#if 0 rtx get_reg_for_handler () { @@ -2850,6 +2858,7 @@ get_reg_for_handler () current_function_decl); return reg1; } +#endif /* Set up the epilogue with the magic bits we'll need to return to the exception handler. */ @@ -3064,7 +3073,7 @@ process_nestinfo (block, info, nested_eh_region) handler_info *ptr, *last_ptr = NULL; int x, y, count = 0; int extra = 0; - handler_info **extra_handlers; + handler_info **extra_handlers = 0; int index = info->region_index[block]; /* If we've already processed this block, simply return. */ |