aboutsummaryrefslogtreecommitdiff
path: root/gcc/conflict.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-05-16 19:31:56 -0700
committerRichard Henderson <rth@gcc.gnu.org>2002-05-16 19:31:56 -0700
commit0b17ab2f5b1184fdb568786f791bc0613e574241 (patch)
tree94c8895c6dde3b282518d4c9951067cd0ac517fd /gcc/conflict.c
parent8ae86b3cd8c96e287714f127879b018ac7fccd7d (diff)
downloadgcc-0b17ab2f5b1184fdb568786f791bc0613e574241.zip
gcc-0b17ab2f5b1184fdb568786f791bc0613e574241.tar.gz
gcc-0b17ab2f5b1184fdb568786f791bc0613e574241.tar.bz2
Revert "Basic block renumbering removal", and two followup patches.
From-SVN: r53537
Diffstat (limited to 'gcc/conflict.c')
-rw-r--r--gcc/conflict.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/conflict.c b/gcc/conflict.c
index 765b4e4..d1fb129 100644
--- a/gcc/conflict.c
+++ b/gcc/conflict.c
@@ -447,18 +447,19 @@ conflict_graph_compute (regs, p)
regset regs;
partition p;
{
+ int b;
conflict_graph graph = conflict_graph_new (max_reg_num ());
regset_head live_head;
regset live = &live_head;
regset_head born_head;
regset born = &born_head;
- basic_block bb;
INIT_REG_SET (live);
INIT_REG_SET (born);
- FOR_ALL_BB_REVERSE (bb)
+ for (b = n_basic_blocks; --b >= 0; )
{
+ basic_block bb = BASIC_BLOCK (b);
rtx insn;
rtx head;