summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cfgloop.c14
-rw-r--r--gcc/cfgloop.h1
3 files changed, 5 insertions, 15 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 17310974d2a..c979014041c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
+ * cfgloop.c (flow_loops_update): Remove.
+ * cfgloop.h: Remove the corresponding prototype.
+
+2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
+
* conflict.c (mark_reg, conflict_graph_compute): Remove.
* basic-block.h: Remove the prototype for
conflict_graph_compute.
diff --git a/gcc/cfgloop.c b/gcc/cfgloop.c
index b995b397844..c85d053cc6c 100644
--- a/gcc/cfgloop.c
+++ b/gcc/cfgloop.c
@@ -973,20 +973,6 @@ flow_loops_find (struct loops *loops, int flags)
return loops->num;
}
-/* Update the information regarding the loops in the CFG
- specified by LOOPS. */
-
-int
-flow_loops_update (struct loops *loops, int flags)
-{
- /* One day we may want to update the current loop data. For now
- throw away the old stuff and rebuild what we need. */
- if (loops->parray)
- flow_loops_free (loops);
-
- return flow_loops_find (loops, flags);
-}
-
/* Return nonzero if basic block BB belongs to LOOP. */
bool
flow_bb_inside_loop_p (const struct loop *loop, const basic_block bb)
diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h
index 3261adb8e2d..d59956e948b 100644
--- a/gcc/cfgloop.h
+++ b/gcc/cfgloop.h
@@ -265,7 +265,6 @@ extern struct loops *current_loops;
/* Loop recognition. */
extern int flow_loops_find (struct loops *, int flags);
-extern int flow_loops_update (struct loops *, int flags);
extern void flow_loops_free (struct loops *);
extern void flow_loops_dump (const struct loops *, FILE *,
void (*)(const struct loop *, FILE *, int), int);