aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-10-03 16:28:33 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-10-03 16:28:33 +0000
commitca3075bd73284367f527e7c4e987d3c933638add (patch)
tree55795b9bbaaf83eb846e7535a9776f7e8e633c25 /gcc/function.c
parent93868d11a61ed7c903a112b9a29b43907220f51a (diff)
downloadgcc-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/function.c')
-rw-r--r--gcc/function.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c
index eec1011..c84b6d6 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -280,6 +280,7 @@ static void compute_insns_for_mem PROTO ((rtx, rtx, struct hash_table *));
static void mark_temp_slot PROTO ((struct temp_slot *));
static void mark_function_status PROTO ((struct function *));
static void mark_function_chain PROTO ((void *));
+static void prepare_function_start PROTO ((void));
/* Pointer to chain of `struct function' for containing functions. */
@@ -349,7 +350,7 @@ push_function_context ()
void
pop_function_context_from (context)
- tree context;
+ tree context ATTRIBUTE_UNUSED;
{
struct function *p = outer_function_chain;
struct var_refs_queue *queue;
@@ -1148,6 +1149,7 @@ push_temp_slots ()
/* Likewise, but save the new level as the place to allocate variables
for blocks. */
+#if 0
void
push_temp_slots_for_block ()
{
@@ -1182,6 +1184,7 @@ set_target_temp_slot_level (level)
{
target_temp_slot_level = level;
}
+#endif
/* Pop a temporary nesting level. All slots in use in the current level
are freed. */
@@ -2680,6 +2683,7 @@ gen_mem_addressof (reg, decl)
/* If DECL has an RTL that is an ADDRESSOF rtx, put it into the stack. */
+#if 0
void
flush_addressof (decl)
tree decl;
@@ -2691,6 +2695,7 @@ flush_addressof (decl)
&& GET_CODE (XEXP (XEXP (DECL_RTL (decl), 0), 0)) == REG)
put_addressof_into_stack (XEXP (DECL_RTL (decl), 0), 0);
}
+#endif
/* Force the register pointed to by R, an ADDRESSOF rtx, into the stack. */