aboutsummaryrefslogtreecommitdiff
path: root/gcc/reload1.c
diff options
context:
space:
mode:
authorJ"orn Rennecke <amylaar@cygnus.co.uk>1998-01-10 20:54:37 +0000
committerJeff Law <law@gcc.gnu.org>1998-01-10 13:54:37 -0700
commit184bb750da2da4d22c64ea900ea1a4f00927ca77 (patch)
tree418c1299a8009344c78283c0c866d1a9d9bbd115 /gcc/reload1.c
parent9d1943807a48cb47240d612ca4302c1054c4b23a (diff)
downloadgcc-184bb750da2da4d22c64ea900ea1a4f00927ca77.zip
gcc-184bb750da2da4d22c64ea900ea1a4f00927ca77.tar.gz
gcc-184bb750da2da4d22c64ea900ea1a4f00927ca77.tar.bz2
regmove.c: New implementation of regmove pass.
* regmove.c: New implementation of regmove pass. * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2): Remove decls, make them have external linkage. Return a value from optimize_reg_copy_1. * reload.h (count_occurrences): Add decl. * reload1.c (count_occurrences): Delete decl, make it have external linkage. * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Declare. Co-Authored-By: Jeffrey A Law <law@cygnus.com> From-SVN: r17316
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r--gcc/reload1.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c
index 778801d..b917718 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -1,5 +1,5 @@
/* Reload pseudo regs into hard regs for insns that require hard regs.
- Copyright (C) 1987, 88, 89, 92-6, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1987, 88, 89, 92-7 1998 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -392,7 +392,6 @@ static void emit_reload_insns PROTO((rtx));
static void delete_output_reload PROTO((rtx, int, rtx));
static void inc_for_reload PROTO((rtx, rtx, int));
static int constraint_accepts_reg_p PROTO((char *, rtx));
-static int count_occurrences PROTO((rtx, rtx));
static void reload_cse_invalidate_regno PROTO((int, enum machine_mode, int));
static int reload_cse_mem_conflict_p PROTO((rtx, rtx));
static void reload_cse_invalidate_mem PROTO((rtx));
@@ -7510,7 +7509,7 @@ constraint_accepts_reg_p (string, reg)
/* Return the number of places FIND appears within X, but don't count
an occurrence if some SET_DEST is FIND. */
-static int
+int
count_occurrences (x, find)
register rtx x, find;
{