aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);