aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-01-16 05:17:54 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2006-01-16 05:17:54 +0000
commitcab2264d17e4602aa2de844413c36a207ba4665a (patch)
treebac32341a8c2dae0afe13073440721ba62661c7b /gcc
parente21d6c600c0e4c27d89e59bed687fa5e0861f4ca (diff)
downloadgcc-cab2264d17e4602aa2de844413c36a207ba4665a.zip
gcc-cab2264d17e4602aa2de844413c36a207ba4665a.tar.gz
gcc-cab2264d17e4602aa2de844413c36a207ba4665a.tar.bz2
cse.c (cse_condition_code_reg): Make it static.
* cse.c (cse_condition_code_reg): Make it static. * rtl.h: Remove the prototype for cse_condition_code_reg. From-SVN: r109742
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cse.c2
-rw-r--r--gcc/rtl.h1
3 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9d33732..5f39173 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-16 Kazu Hirata <kazu@codesourcery.com>
+
+ * cse.c (cse_condition_code_reg): Make it static.
+ * rtl.h: Remove the prototype for cse_condition_code_reg.
+
2006-01-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR target/25168
diff --git a/gcc/cse.c b/gcc/cse.c
index a352c0e..ce6edcd 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -7676,7 +7676,7 @@ cse_cc_succs (basic_block bb, rtx cc_reg, rtx cc_src, bool can_change_mode)
/* If we have a fixed condition code register (or two), walk through
the instructions and try to eliminate duplicate assignments. */
-void
+static void
cse_condition_code_reg (void)
{
unsigned int cc_regno_1;
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 104d4fb..78b0b45 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1890,7 +1890,6 @@ extern int rtx_to_tree_code (enum rtx_code);
/* In cse.c */
extern int delete_trivially_dead_insns (rtx, int);
extern int cse_main (rtx, int, FILE *);
-extern void cse_condition_code_reg (void);
extern int exp_equiv_p (rtx, rtx, int, bool);
extern unsigned hash_rtx (rtx x, enum machine_mode, int *, int *, bool);