aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-03-05 17:41:48 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2006-03-05 17:41:48 +0000
commita678e384b91196c50d3190dc1c6f961737e244c5 (patch)
tree2574be101a0249c36a0abe0c0600c51a54e28aca
parentb00bf1661f4755fa203e44b98ba5b9a8de8c4355 (diff)
downloadgcc-a678e384b91196c50d3190dc1c6f961737e244c5.zip
gcc-a678e384b91196c50d3190dc1c6f961737e244c5.tar.gz
gcc-a678e384b91196c50d3190dc1c6f961737e244c5.tar.bz2
flow.c (recompute_reg_usage): Make it static.
* flow.c (recompute_reg_usage): Make it static. * rtl.h: Remove the prototype for recompute_reg_usage. From-SVN: r111736
-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 54968b5..7c128e9 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 ff03ca6..64d4092 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 47d7b0d..dacccfd 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);