aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.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/final.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/final.c')
-rw-r--r--gcc/final.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/final.c b/gcc/final.c
index 5ef12ef3..7402e27 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -310,6 +310,10 @@ static void leaf_renumber_regs PROTO((rtx));
#ifdef HAVE_cc0
static int alter_cond PROTO((rtx));
#endif
+#ifndef ADDR_VEC_ALIGN
+static int final_addr_vec_align PROTO ((rtx));
+#endif
+static int align_fuzz PROTO ((rtx, rtx, int, unsigned));
/* Initialize data in final at the beginning of a compilation. */
@@ -824,7 +828,7 @@ get_attr_length (insn)
#endif
#ifndef ADDR_VEC_ALIGN
-int
+static int
final_addr_vec_align (addr_vec)
rtx addr_vec;
{
@@ -889,7 +893,7 @@ label_to_alignment (label)
GROWTH should be ~0 if the objective is to compute potential code size
increase, and 0 if the objective is to compute potential shrink.
The return value is undefined for any other value of GROWTH. */
-int
+static int
align_fuzz (start, end, known_align_log, growth)
rtx start, end;
int known_align_log;