aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-01-17 01:21:29 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2006-01-17 01:21:29 +0000
commitd6108e890ccd55d45010ec888091489c26704be3 (patch)
tree7f5f11792084ec57d5fde783154b30a27385ca43 /gcc
parent838f78d63b20aaf9078bf5afe2e94054fcd180f7 (diff)
downloadgcc-d6108e890ccd55d45010ec888091489c26704be3.zip
gcc-d6108e890ccd55d45010ec888091489c26704be3.tar.gz
gcc-d6108e890ccd55d45010ec888091489c26704be3.tar.bz2
ifcvt.c (if_convert): Make it static.
* ifcvt.c (if_convert): Make it static. * rtl.h: Remove the prototype for if_convert. From-SVN: r109793
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/ifcvt.c2
-rw-r--r--gcc/rtl.h3
3 files changed, 6 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e8eeccb..6287c4e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-16 Kazu Hirata <kazu@codesourcery.com>
+
+ * ifcvt.c (if_convert): Make it static.
+ * rtl.h: Remove the prototype for if_convert.
+
2006-01-16 DJ Delorie <dj@redhat.com>
* reload.c (reg_overlap_mentioned_for_reload_p): Handle subregs of
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c
index d72b86d..d919340 100644
--- a/gcc/ifcvt.c
+++ b/gcc/ifcvt.c
@@ -3786,7 +3786,7 @@ dead_or_predicable (basic_block test_bb, basic_block merge_bb,
/* Main entry point for all if-conversion. */
-void
+static void
if_convert (int x_life_data_ok)
{
basic_block bb;
diff --git a/gcc/rtl.h b/gcc/rtl.h
index d401c98..0484cf7 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2156,9 +2156,6 @@ extern GTY(()) rtx stack_limit_rtx;
extern void regrename_optimize (void);
extern void copyprop_hardreg_forward (void);
-/* In ifcvt.c */
-extern void if_convert (int);
-
/* In predict.c */
extern void invert_br_probabilities (rtx);
extern bool expensive_function_p (int);