summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-15 07:18:23 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-15 07:18:23 +0000
commit9c17711b2061e7afa802cfb989d1a345479a9625 (patch)
treecbb3702f34d555dc1c662f48376f4c07265e72fa /gcc
parent2b2046d3b651ef5f6f11e9b80c817b411f00f5d6 (diff)
downloadgcc-9c17711b2061e7afa802cfb989d1a345479a9625.tar.gz
* basic-block.h: Adjust the prototype for find_basic_blocks.
* cfgbuild.c (find_basic_blocks): Remove unused arguments. * passes.c (rest_of_handle_loop_optimize): Adjust the call to find_basic_blocks. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95057 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/basic-block.h2
-rw-r--r--gcc/cfgbuild.c6
-rw-r--r--gcc/passes.c2
4 files changed, 11 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 740a3887e50..49b374f8df3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2005-02-14 Kazu Hirata <kazu@cs.umass.edu>
+
+ * basic-block.h: Adjust the prototype for find_basic_blocks.
+ * cfgbuild.c (find_basic_blocks): Remove unused arguments.
+ * passes.c (rest_of_handle_loop_optimize): Adjust the call to
+ find_basic_blocks.
+
2005-02-14 Daniel Berlin <dberlin@dberlin.org>
* tree-dump.c (dump_files): Update to reflect new member
diff --git a/gcc/basic-block.h b/gcc/basic-block.h
index 47cd99d22c4..3382cd7321e 100644
--- a/gcc/basic-block.h
+++ b/gcc/basic-block.h
@@ -779,7 +779,7 @@ extern void alloc_aux_for_edge (edge, int);
extern void alloc_aux_for_edges (int);
extern void clear_aux_for_edges (void);
extern void free_aux_for_edges (void);
-extern void find_basic_blocks (rtx, int, FILE *);
+extern void find_basic_blocks (rtx);
extern bool cleanup_cfg (int);
extern bool delete_unreachable_blocks (void);
extern bool merge_seq_blocks (void);
diff --git a/gcc/cfgbuild.c b/gcc/cfgbuild.c
index 7f3e72b9ff5..ac8a941452e 100644
--- a/gcc/cfgbuild.c
+++ b/gcc/cfgbuild.c
@@ -482,12 +482,10 @@ find_basic_blocks_1 (rtx f)
/* Find basic blocks of the current function.
- F is the first insn of the function and NREGS the number of register
- numbers in use. */
+ F is the first insn of the function. */
void
-find_basic_blocks (rtx f, int nregs ATTRIBUTE_UNUSED,
- FILE *file ATTRIBUTE_UNUSED)
+find_basic_blocks (rtx f)
{
basic_block bb;
diff --git a/gcc/passes.c b/gcc/passes.c
index c0c655ba94e..23a026e46b5 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -1105,7 +1105,7 @@ rest_of_handle_loop_optimize (void)
/* Loop can create trivially dead instructions. */
delete_trivially_dead_insns (get_insns (), max_reg_num ());
- find_basic_blocks (get_insns (), max_reg_num (), dump_file);
+ find_basic_blocks (get_insns ());
close_dump_file (DFI_loop, print_rtl, get_insns ());
timevar_pop (TV_LOOP);