From f085c9cdc43fab83a263a175e07f2653b0f1b673 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Wed, 11 Aug 1993 17:58:31 -0400 Subject: [PATCH] (combine_instructions): Fix typo on test of basic block number. From-SVN: r5134 --- gcc/combine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/combine.c b/gcc/combine.c index ffc92f8c968..8abf590d514 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -537,7 +537,7 @@ combine_instructions (f, nregs) next = 0; /* If INSN starts a new basic block, update our basic block number. */ - if (this_basic_block < n_basic_blocks + 1 + if (this_basic_block + 1 < n_basic_blocks && basic_block_head[this_basic_block + 1] == insn) this_basic_block++; -- 2.30.2