summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-05 17:41:48 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-05 17:41:48 +0000
commitfcea7c5ba8ff6a48540ea01cd81d5e4e0cd9dfcb (patch)
tree2574be101a0249c36a0abe0c0600c51a54e28aca /gcc
parent77cbebb3a4b9f54a9e8bb5f77349912aa5069177 (diff)
downloadgcc-fcea7c5ba8ff6a48540ea01cd81d5e4e0cd9dfcb.tar.gz
* flow.c (recompute_reg_usage): Make it static.
* rtl.h: Remove the prototype for recompute_reg_usage. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111736 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/flow.c2
-rw-r--r--gcc/rtl.h1
3 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 54968b5766f..7c128e9029b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -8,6 +8,9 @@
* cfgloop.c (cancel_loop): Make it static.
* cfgloop.h: Remove the prototype for cancel_loop.
+ * flow.c (recompute_reg_usage): Make it static.
+ * rtl.h: Remove the prototype for recompute_reg_usage.
+
2006-03-05 Kazu Hirata <kazu@codesourcery.com>
* recog.c (volatile_mem_p, validate_change_maybe_volatile):
diff --git a/gcc/flow.c b/gcc/flow.c
index ff03ca6fc2a..64d40925429 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -4409,7 +4409,7 @@ debug_regset (regset r)
It might be worthwhile to update REG_LIVE_LENGTH, REG_BASIC_BLOCK and
possibly other information which is used by the register allocators. */
-unsigned int
+static unsigned int
recompute_reg_usage (void)
{
allocate_reg_life_data ();
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 47d7b0d8922..dacccfdb458 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2133,7 +2133,6 @@ extern rtx move_by_pieces (rtx, rtx, unsigned HOST_WIDE_INT,
unsigned int, int);
/* In flow.c */
-extern unsigned int recompute_reg_usage (void);
extern void delete_dead_jumptables (void);
extern void print_rtl_with_bb (FILE *, rtx);
extern void dump_flow_info (FILE *, int);