aboutsummaryrefslogtreecommitdiff
path: root/gcc/regmove.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-10-03 16:47:52 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-10-03 16:47:52 +0000
commit95d75019ff92aa7bb5910cd0091eb8cb395f2a90 (patch)
tree849386badcfcf13df29ffffb2bf195a15a495470 /gcc/regmove.c
parentca3075bd73284367f527e7c4e987d3c933638add (diff)
downloadgcc-95d75019ff92aa7bb5910cd0091eb8cb395f2a90.zip
gcc-95d75019ff92aa7bb5910cd0091eb8cb395f2a90.tar.gz
gcc-95d75019ff92aa7bb5910cd0091eb8cb395f2a90.tar.bz2
print-tree.c (print_node, indent_to): Remove redundant prototypes.
* print-tree.c (print_node, indent_to): Remove redundant prototypes. * profile.c (instrument_arcs, output_gcov_string, tablejump_entry_p): Add static prototypes. (output_gcov_string): Constify a char*. * regmove.c (replacement_quality, fixup_match_2): Add static prototypes. * resource.h (reg_dead_p): Add extern prototype. * rtl.c (trim_filename): Add static prototype. * scan-decls.c (skip_to_closing_brace): Likewise. * stmt.c (expand_decl_cleanup_no_eh): Hide definition. (expand_end_case): Initialize variable `range'. (emit_case_nodes): Remove unused prototype `rtx_fn'. * varasm.c (asm_emit_uninitialised): Add static prototype. (asm_emit_uninitialised, assemble_variable): Mark parameter with ATTRIBUTE_UNUSED. From-SVN: r29784
Diffstat (limited to 'gcc/regmove.c')
-rw-r--r--gcc/regmove.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/regmove.c b/gcc/regmove.c
index 98e2d13..98061afa 100644
--- a/gcc/regmove.c
+++ b/gcc/regmove.c
@@ -66,6 +66,8 @@ static int fixup_match_1 PROTO((rtx, rtx, rtx, rtx, rtx, int, int, int, FILE *))
static int reg_is_remote_constant_p PROTO((rtx, rtx, rtx));
static int stable_and_no_regs_but_for_p PROTO((rtx, rtx, rtx));
static int regclass_compatible_p PROTO((int, int));
+static int replacement_quality PROTO((rtx));
+static int fixup_match_2 PROTO((rtx, rtx, rtx, rtx, FILE *));
static int loop_depth;
/* Return non-zero if registers with CLASS1 and CLASS2 can be merged without
@@ -335,7 +337,7 @@ static int *regno_src_regno;
the choice. The main objective is to avoid using a register that is
a candidate for tying to a hard register, since the output might in
turn be a candidate to be tied to a different hard register. */
-int
+static int
replacement_quality(reg)
rtx reg;
{
@@ -938,7 +940,7 @@ reg_is_remote_constant_p (reg, insn, first)
/* cse disrupts preincrement / postdecrement squences when it finds a
hard register as ultimate source, like the frame pointer. */
-int
+static int
fixup_match_2 (insn, dst, src, offset, regmove_dump_file)
rtx insn, dst, src, offset;
FILE *regmove_dump_file;