diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-17 01:27:04 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-17 01:27:04 +0000 |
commit | 0334f35ce975b4b82a5efa9559739cd2d4c98eef (patch) | |
tree | 51edb8c3f53be783752d3fb9dcbeddaf3cf7ad14 /gcc | |
parent | 46a3cafbc55a1255588a363dd9a65f44726cf379 (diff) | |
download | gcc-0334f35ce975b4b82a5efa9559739cd2d4c98eef.tar.gz |
* loop.c (loop_optimize): Make it static.
* cfgloop.h: Remove the prototype for loop_optimize.
* rtl.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109795 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cfgloop.h | 2 | ||||
-rw-r--r-- | gcc/loop.c | 2 | ||||
-rw-r--r-- | gcc/rtl.h | 1 |
4 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dd85e176154..dbb8d462bc1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -6,6 +6,10 @@ * local-alloc.c (local_alloc): Make it static. * rtl.h: Remove the prototype for local_alloc. + * loop.c (loop_optimize): Make it static. + * cfgloop.h: Remove the prototype for loop_optimize. + * rtl.h: Likewise. + 2006-01-16 DJ Delorie <dj@redhat.com> * reload.c (reg_overlap_mentioned_for_reload_p): Handle subregs of diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h index b9c0dbc5b0d..b5ac71caeab 100644 --- a/gcc/cfgloop.h +++ b/gcc/cfgloop.h @@ -460,6 +460,4 @@ extern void record_estimate (struct loop *, tree, tree, tree); /* Flags passed to loop_optimize. */ #define LOOP_PREFETCH 1 -extern void loop_optimize (rtx, FILE *, int); - #endif /* GCC_CFGLOOP_H */ diff --git a/gcc/loop.c b/gcc/loop.c index 4aa1ff9ab70..de2a25b07c8 100644 --- a/gcc/loop.c +++ b/gcc/loop.c @@ -803,7 +803,7 @@ compute_luids (rtx start, rtx end, int prev_luid) and DUMPFILE is a stream for output of a trace of actions taken (or 0 if none should be output). */ -void +static void loop_optimize (rtx f, FILE *dumpfile, int flags) { rtx insn; diff --git a/gcc/rtl.h b/gcc/rtl.h index c1de092831b..5cd651c6060 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -2000,7 +2000,6 @@ extern void print_inline_rtx (FILE *, rtx, int); /* In loop.c */ extern void init_loop (void); -extern void loop_optimize (rtx, FILE *, int); /* In bt-load.c */ extern void branch_target_load_optimize (bool); |