diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-17 02:31:56 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-17 02:31:56 +0000 |
commit | b3d6de8978fd2208885e98b19a91c9d29c170af5 (patch) | |
tree | 94c8895c6dde3b282518d4c9951067cd0ac517fd /gcc/conflict.c | |
parent | 5e7d465f337d9d419b2528ad819390067caeca95 (diff) | |
download | gcc-b3d6de8978fd2208885e98b19a91c9d29c170af5.tar.gz |
Revert "Basic block renumbering removal", and two followup patches.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53537 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/conflict.c')
-rw-r--r-- | gcc/conflict.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/conflict.c b/gcc/conflict.c index 765b4e47f5f..d1fb1293cf9 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; |