summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-09 19:21:29 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-09 19:21:29 +0000
commitd99189988cef3ef167b925aa697c3e2db2bcc23e (patch)
treeaab431a62d07bcf7a388163b0eda65661f1db3b5 /gcc
parent3f0895d3678c25b46c25f797ddb1fa7853ebf931 (diff)
downloadgcc-d99189988cef3ef167b925aa697c3e2db2bcc23e.tar.gz
* loop-iv.c (iv_number_of_iterations): Make it static.
* cfgloop.h: Remove the corresponding prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90358 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cfgloop.h2
-rw-r--r--gcc/loop-iv.c2
3 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cc67fe2c264..aaca5f30721 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
+ * loop-iv.c (iv_number_of_iterations): Make it static.
+ * cfgloop.h: Remove the corresponding prototype.
+
+2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
+
* function.c (combine_temp_slots, assign_parms,
expand_pending_sizes): Make them static.
* tree.h: Remove the corresponding prototypes.
diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h
index d59956e948b..303d611731c 100644
--- a/gcc/cfgloop.h
+++ b/gcc/cfgloop.h
@@ -437,8 +437,6 @@ extern bool iv_analyze (rtx, rtx, struct rtx_iv *);
extern rtx get_iv_value (struct rtx_iv *, rtx);
extern bool biv_p (rtx, rtx);
extern void find_simple_exit (struct loop *, struct niter_desc *);
-extern void iv_number_of_iterations (struct loop *, rtx, rtx,
- struct niter_desc *);
extern void iv_analysis_done (void);
extern struct niter_desc *get_simple_loop_desc (struct loop *loop);
diff --git a/gcc/loop-iv.c b/gcc/loop-iv.c
index 7105aaddcbc..ed0defb70f7 100644
--- a/gcc/loop-iv.c
+++ b/gcc/loop-iv.c
@@ -2006,7 +2006,7 @@ canonicalize_iv_subregs (struct rtx_iv *iv0, struct rtx_iv *iv1,
the result into DESC. Very similar to determine_number_of_iterations
(basically its rtl version), complicated by things like subregs. */
-void
+static void
iv_number_of_iterations (struct loop *loop, rtx insn, rtx condition,
struct niter_desc *desc)
{